Add mergequeue tag to read-receipts tests and skip running them on PR commits (#28648)

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski 2024-12-05 14:30:28 +00:00 committed by GitHub
parent 7e03f38a3b
commit 450cb608ec
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
20 changed files with 30 additions and 19 deletions

View file

@ -130,8 +130,12 @@ jobs:
if: steps.playwright-cache.outputs.cache-hit != 'true'
run: yarn playwright install --with-deps --no-shell chromium
# We skip tests tagged with @mergequeue when running on PRs, but run them in MQ and everywhere else
- name: Run Playwright tests
run: yarn playwright test --shard ${{ matrix.runner }}/${{ strategy.job-total }}
run: |
yarn playwright test \
--shard "${{ matrix.runner }}/${{ strategy.job-total }}" \
${{ github.event_name == 'pull_request' && '--grep-invert @mergequeue' || '' }}
- name: Upload blob report to GitHub Actions Artifacts
if: always()