Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
upload textual snapshot only for failing textual tests
  • Loading branch information
mashehu committed Jun 30, 2025
commit 2404287e18ad23b5cf2de19ea94513e854e5d200
3 changes: 2 additions & 1 deletion .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ jobs:
mv .github/.coveragerc .

- name: Test with pytest
id: pytest
run: |
python3 -m pytest tests/${{matrix.test}} --color=yes --cov --cov-config=.coveragerc --durations=0 -n auto && exit_code=0|| exit_code=$?
# don't fail if no tests were collected, e.g. for test_licence.py
Expand All @@ -133,7 +134,7 @@ jobs:

- name: Store snapshot report
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
if: always()
if: always() && contains(matrix.test, 'test_create_app') && steps.pytest.outcome == 'failure'
with:
include-hidden-files: true
name: Snapshot Report ${{ env.test }}
Expand Down
Loading