diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index 1edebb0b5c..4e873385e8 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -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