diff options
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/python.yml | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 321ed44..d02c1b5 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -27,7 +27,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip setuptools wheel - python -m pip install flake8 pytest + python -m pip install flake8 pytest "coverage[toml]" python -m pip install . - name: Lint with flake8 run: | @@ -35,4 +35,8 @@ jobs: flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics - name: Test with pytest run: | - pytest + coverage run -m pytest + - name: Upload coverage reports to Codecov + uses: codecov/codecov-action@v3 + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} |
