Upload profile from Playwright runs
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
10
.github/workflows/end-to-end-tests.yaml
vendored
10
.github/workflows/end-to-end-tests.yaml
vendored
@@ -166,12 +166,22 @@ jobs:
|
|||||||
|
|
||||||
# We skip tests tagged with @mergequeue when running on PRs, but run them in MQ and everywhere else
|
# We skip tests tagged with @mergequeue when running on PRs, but run them in MQ and everywhere else
|
||||||
- name: Run Playwright tests
|
- name: Run Playwright tests
|
||||||
|
env:
|
||||||
|
PWTEST_PROFILE_DIR: profile
|
||||||
run: |
|
run: |
|
||||||
yarn playwright test \
|
yarn playwright test \
|
||||||
--shard "${{ matrix.runner }}/${{ needs.build.outputs.num-runners }}" \
|
--shard "${{ matrix.runner }}/${{ needs.build.outputs.num-runners }}" \
|
||||||
--project="${{ matrix.project }}" \
|
--project="${{ matrix.project }}" \
|
||||||
${{ (github.event_name == 'pull_request' && matrix.runAllTests == false ) && '--grep-invert @mergequeue' || '' }}
|
${{ (github.event_name == 'pull_request' && matrix.runAllTests == false ) && '--grep-invert @mergequeue' || '' }}
|
||||||
|
|
||||||
|
- name: Upload profile
|
||||||
|
if: always()
|
||||||
|
uses: actions/upload-artifact@v4
|
||||||
|
with:
|
||||||
|
name: profile-${{ matrix.project }}-${{ matrix.runner }}
|
||||||
|
path: profile
|
||||||
|
retention-days: 1
|
||||||
|
|
||||||
- name: Upload blob report to GitHub Actions Artifacts
|
- name: Upload blob report to GitHub Actions Artifacts
|
||||||
if: always()
|
if: always()
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
|
|||||||
Reference in New Issue
Block a user