Skip to content

Update setup.py

Update setup.py #21

Workflow file for this run

# GitHub Action that runs pytest with a coverage report
name: Run Pytest
on: [ push ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with: # https://github.com/stefanzweifel/git-auto-commit-action#checkout-the-correct-branch
ref: ${{ github.head_ref }}
- name: Set up Python 3.10
uses: actions/setup-python@v2
with:
python-version: "3.10"
architecture: 'x64'
- run: pip install -r requirements.txt
- name: Generate Report
run: |
pip install coverage
coverage run -m pytest --exitfirst --verbose --failed-first
- name: Upload Coverage to Codecov
uses: codecov/codecov-action@v3