mirror of
https://github.com/microsoft/playwright.git
synced 2025-01-05 19:04:43 +03:00
docs: change if: always() to if: !cancelled() (#30102)
Fixes https://github.com/microsoft/playwright/issues/29451 See https://github.com/microsoft/playwright/issues/29451#issuecomment-2008476721 for investigation.
This commit is contained in:
parent
82804cce64
commit
032f27ff84
@ -65,7 +65,7 @@ jobs:
|
|||||||
- name: Run Playwright tests
|
- name: Run Playwright tests
|
||||||
run: npx playwright test
|
run: npx playwright test
|
||||||
- uses: actions/upload-artifact@v4
|
- uses: actions/upload-artifact@v4
|
||||||
if: always()
|
if: ${{ !cancelled() }}
|
||||||
with:
|
with:
|
||||||
name: playwright-report
|
name: playwright-report
|
||||||
path: playwright-report/
|
path: playwright-report/
|
||||||
@ -103,7 +103,7 @@ jobs:
|
|||||||
- name: Run your tests
|
- name: Run your tests
|
||||||
run: pytest --tracing=retain-on-failure
|
run: pytest --tracing=retain-on-failure
|
||||||
- uses: actions/upload-artifact@v4
|
- uses: actions/upload-artifact@v4
|
||||||
if: always()
|
if: ${{ !cancelled() }}
|
||||||
with:
|
with:
|
||||||
name: playwright-traces
|
name: playwright-traces
|
||||||
path: test-results/
|
path: test-results/
|
||||||
|
@ -89,7 +89,7 @@ jobs:
|
|||||||
run: npx playwright test --shard=${{ matrix.shardIndex }}/${{ matrix.shardTotal }}
|
run: npx playwright test --shard=${{ matrix.shardIndex }}/${{ matrix.shardTotal }}
|
||||||
|
|
||||||
- name: Upload blob report to GitHub Actions Artifacts
|
- name: Upload blob report to GitHub Actions Artifacts
|
||||||
if: always()
|
if: ${{ !cancelled() }}
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: blob-report-${{ matrix.shardIndex }}
|
name: blob-report-${{ matrix.shardIndex }}
|
||||||
@ -104,7 +104,7 @@ jobs:
|
|||||||
...
|
...
|
||||||
merge-reports:
|
merge-reports:
|
||||||
# Merge reports after playwright-tests, even if some shards have failed
|
# Merge reports after playwright-tests, even if some shards have failed
|
||||||
if: always()
|
if: ${{ !cancelled() }}
|
||||||
needs: [playwright-tests]
|
needs: [playwright-tests]
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
Loading…
Reference in New Issue
Block a user