Skip to content

Commit

Permalink
Generate XML coverage report
Browse files Browse the repository at this point in the history
No-Issue
  • Loading branch information
cutwater committed Oct 10, 2024
1 parent 8d401e9 commit 4eb1724
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci_full.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: coverage
path: /tmp/galaxy_ng-test-results.xml
path: coverage.xml

- name: SonarCloud Scan
uses: SonarSource/sonarcloud-github-action@master
Expand All @@ -99,7 +99,7 @@ jobs:
continue-on-error: true
run: |
curl -v --user "${{ vars.PDE_ORG_RESULTS_AGGREGATOR_UPLOAD_USER }}:${{ secrets.PDE_ORG_RESULTS_UPLOAD_PASSWORD }}" \
--form "xunit_xml=@coverage.xml" \
--form "xunit_xml=@/tmp/galaxy_ng-test-results.xml" \
--form "component_name=hub" \
--form "git_commit_sha=${{ github.sha }}" \
--form "git_repository_url=https://github.com/${{ github.repository }}" \
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ legacy_tox_ini = """
--capture=no -v \
-p 'no:pulpcore' \
-p 'no:pulp_ansible' \
--cov-report term-missing:skip-covered \
--cov-report xml:coverage.xml \
--cov=galaxy_ng \
--junit-xml=/tmp/galaxy_ng-test-results.xml \
--pyargs "galaxy_ng.tests.unit" \
Expand Down

0 comments on commit 4eb1724

Please sign in to comment.