diff --git a/.github/workflows/continous-integration.yml b/.github/workflows/continous-integration.yml index a3aa66c..cb2ac3a 100644 --- a/.github/workflows/continous-integration.yml +++ b/.github/workflows/continous-integration.yml @@ -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: | @@ -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"