Skip to content

Commit

Permalink
[QOLDEV-1003] generate JUnit-style test results
Browse files Browse the repository at this point in the history
  • Loading branch information
ThrawnCA committed Nov 12, 2024
1 parent e97d681 commit efb34a1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,3 +121,9 @@ jobs:
continue-on-error: ${{ matrix.experimental }}
run: ./scripts/test.sh
timeout-minutes: 30

- name: Test Summary
uses: test-summary/action@v2
with:
paths: "/tmp/artifacts/junit/results.xml"
if: always()
2 changes: 1 addition & 1 deletion scripts/test.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/usr/bin/env bash

pytest -vv --ckan-ini=test.ini --cov=ckanext.s3filestore
pytest -vv --ckan-ini=test.ini --cov=ckanext.s3filestore --junit-xml=/tmp/artifacts/junit/results.xml

0 comments on commit efb34a1

Please sign in to comment.