mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2026-09-19 17:12:47 +01:00
Serialize shared E2E workflow runs
This commit is contained in:
@@ -10,7 +10,11 @@ on:
|
|||||||
- master
|
- master
|
||||||
- hotfix/**
|
- hotfix/**
|
||||||
- release/**
|
- release/**
|
||||||
|
concurrency:
|
||||||
|
group: ci-${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||||
|
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
|
||||||
permissions:
|
permissions:
|
||||||
|
actions: read
|
||||||
id-token: write
|
id-token: write
|
||||||
contents: read
|
contents: read
|
||||||
jobs:
|
jobs:
|
||||||
@@ -157,8 +161,20 @@ jobs:
|
|||||||
name: mpac-package
|
name: mpac-package
|
||||||
path: "bin/Release/*.nupkg"
|
path: "bin/Release/*.nupkg"
|
||||||
|
|
||||||
|
e2e-queue:
|
||||||
|
name: "Wait for E2E Environment"
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
timeout-minutes: 360
|
||||||
|
steps:
|
||||||
|
- name: Wait for earlier CI runs
|
||||||
|
uses: softprops/turnstyle@3805450be63b8c80577dc253e8c17e9132036df4 # v3.3.3
|
||||||
|
with:
|
||||||
|
same-branch-only: false
|
||||||
|
poll-interval-seconds: 30
|
||||||
|
|
||||||
playwright-tests:
|
playwright-tests:
|
||||||
name: "Run Playwright Tests (Shard ${{ matrix.shardIndex }} of ${{ matrix.shardTotal }})"
|
name: "Run Playwright Tests (Shard ${{ matrix.shardIndex }} of ${{ matrix.shardTotal }})"
|
||||||
|
needs: [e2e-queue]
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
env:
|
env:
|
||||||
NODE_TLS_REJECT_UNAUTHORIZED: 0
|
NODE_TLS_REJECT_UNAUTHORIZED: 0
|
||||||
|
|||||||
Reference in New Issue
Block a user