Skip to content

Feat: Add MaxPooling2D and AveragePooling2D Layers #9

Feat: Add MaxPooling2D and AveragePooling2D Layers

Feat: Add MaxPooling2D and AveragePooling2D Layers #9

Workflow file for this run

name: run tests
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
run-tests:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11.5'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install coverage pytest-cov
- name: Run tests with coverage
run: |
coverage run -m pytest
coverage report
coverage xml
python -m unittest discover tests
- name: Upload coverage report
uses: actions/upload-artifact@v4
with:
name: coverage-report
path: coverage.xml