Skip to content

Commit

Permalink
Get coverage.xml report from container #133
Browse files Browse the repository at this point in the history
  • Loading branch information
VKTB committed Nov 12, 2024
1 parent 92a7311 commit 0fb5fa1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ jobs:
- name: Run tests
run: |
docker build -f Dockerfile -t scigateway-auth:test --target test .
docker run --name scigatewau-auth-container scigateway-auth:test pytest --config-file test/pytest.ini --cov scigateway_auth --cov-report xml
docker run --name scigateway-auth-container scigateway-auth:test pytest --config-file test/pytest.ini --cov scigateway_auth --cov-report xml
docker cp scigateway-auth-container:/app/coverage.xml coverage.xml
- name: Upload code coverage report
uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # v3.1.4
Expand Down

0 comments on commit 0fb5fa1

Please sign in to comment.