diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index ca5734152..b85559d7c 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -182,6 +182,7 @@ jobs: - name: Main tests with ${{ matrix.plex }} server env: TEST_ACCOUNT_ONCE: ${{ matrix.plex == 'unclaimed' }} + id: test run: | . venv/bin/activate pytest \ @@ -199,6 +200,7 @@ jobs: python -u tools/plex-teardowntest.py - name: Upload coverage artifact + if: always() && (steps.test.outcome == 'success' || steps.test.outcome == 'failure') uses: actions/upload-artifact@v4 with: name: coverage-${{ matrix.plex }}-${{ steps.python.outputs.python-version }}