diff options
Diffstat (limited to '.github/workflows/auto.yml')
| -rw-r--r-- | .github/workflows/auto.yml | 15 | 
1 files changed, 13 insertions, 2 deletions
| diff --git a/.github/workflows/auto.yml b/.github/workflows/auto.yml index d4c744b..b360e1c 100644 --- a/.github/workflows/auto.yml +++ b/.github/workflows/auto.yml @@ -34,5 +34,16 @@ jobs:          run: poetry install        # Run unittests -      - name: Run unittests -        run: poetry run python3 -m pytest -v +      - name: Run unittests with coverage +        run: poetry run python3 -m coverage run --branch -m pytest -v  +         +      # coverage -> xml +      - name: Generate coverage report +        run: poetry run python3 -m coverage xml +         +      # xml -> codecov +      - name: Upload coverage reports to Codecov +        uses: codecov/codecov-action@v3 +        env: +          CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} +         |