Skip to content

Commit

Permalink
upload snapshot report first
Browse files Browse the repository at this point in the history
  • Loading branch information
mirpedrol committed May 10, 2024
1 parent af584d3 commit 0de5b69
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,18 +142,18 @@ jobs:
exit 1
fi
- name: Upload coverage
- name: Store snapshot report
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4
if: always()
with:
name: coverage_${{ matrix.test }}
path: .coverage
name: Snapshot Report ${{ matrix.test }}
path: ./snapshot_report.html

- name: Store snapshot report on failure
- name: Upload coverage
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4
if: ${{matrix.test}} == "test_create_app.py" && always()
with:
name: Snapshot Report ${{ matrix.test }}
path: ./snapshot_report.html
name: coverage_${{ matrix.test }}
path: .coverage

coverage:
needs: test
Expand Down

0 comments on commit 0de5b69

Please sign in to comment.