mirror of
https://github.com/vector-im/element-web.git
synced 2025-12-25 11:11:31 +01:00
Upload profile from Playwright runs
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
bb41616d5f
commit
a4f0aa7ee0
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
|
||||
- name: Run Playwright tests
|
||||
env:
|
||||
PWTEST_PROFILE_DIR: profile
|
||||
run: |
|
||||
yarn playwright test \
|
||||
--shard "${{ matrix.runner }}/${{ needs.build.outputs.num-runners }}" \
|
||||
--project="${{ matrix.project }}" \
|
||||
${{ (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
|
||||
if: always()
|
||||
uses: actions/upload-artifact@v4
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user