Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick Li committed Jun 19, 2024
1 parent fc0f220 commit 0daff16
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/continous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@ jobs:
run: mkdir -p test-reports

- name: Test with pytest
run: conda run -n autosolvate pytest --junitxml=test-reports/results.xml
run: |
set -e # Exit immediately if any command fails
pytest --junitxml=test-reports/results.xml || true
- name: Show test-reports directory contents
run: |
Expand All @@ -53,6 +55,7 @@ jobs:
- name: Show pytest results
run: |
if [ -f test-reports/results.xml ]; then
echo "Pytest results found:"
cat test-reports/results.xml
else
echo "results.xml not found"
Expand Down

0 comments on commit 0daff16

Please sign in to comment.