Skip to content

Commit

Permalink
Add coverage support
Browse files Browse the repository at this point in the history
  • Loading branch information
lycantropos committed Jul 19, 2023
1 parent f50fddb commit 712ea4f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,13 @@ jobs:
dotnet publish --property:CheckEolTargetFramework=false
--property:PublishDir=$PWD/tests/
--framework ${{ matrix.dotnet_runtime_version }} .
- name: 'Install coverage dependencies'
run: dotnet tool install --global dotnet-coverage
- name: 'Run tests'
run: pytest
run: dotnet coverage collect pytest -f cobertura -o coverage.xml
- name: 'Upload coverage'
uses: codecov/[email protected]
continue-on-error: true

pre-deploy:
name: 'Pre-deploy'
Expand Down

0 comments on commit 712ea4f

Please sign in to comment.