-
Notifications
You must be signed in to change notification settings - Fork 741
51 lines (47 loc) · 1.57 KB
/
c3-e2e-quarantine.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# Runs c3 e2e tests for quarantined frameworks on merges to main
name: C3 E2E (Quarantine)
on:
push:
branches:
- main
paths:
- packages/create-cloudflare/**
jobs:
e2e:
timeout-minutes: 30
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ matrix.os }}-${{ matrix.pm.name }}-${{ matrix.pm.version }}
cancel-in-progress: true
name: ${{ format('E2E (quarantined) ({0}@{1} on {2})', matrix.pm.name, matrix.pm.version, matrix.os) }}
if: github.repository_owner == 'cloudflare'
strategy:
matrix:
os: [ubuntu-latest]
pm:
[
{ name: npm, version: "0.0.0" },
{ name: pnpm, version: "9.1.3" },
{ name: bun, version: "1.0.3" },
]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout Repo
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install Dependencies
uses: ./.github/actions/install-dependencies
with:
turbo-api: ${{ secrets.TURBO_API }}
turbo-team: ${{ secrets.TURBO_TEAM }}
turbo-token: ${{ secrets.TURBO_TOKEN }}
turbo-signature: ${{ secrets.TURBO_REMOTE_CACHE_SIGNATURE_KEY }}
- name: E2E Tests
uses: ./.github/actions/run-c3-e2e
with:
packageManager: ${{ matrix.pm.name}}
packageManagerVersion: ${{ matrix.pm.version }}
quarantine: true
accountId: ${{ secrets.C3_TEST_CLOUDFLARE_ACCOUNT_ID }}
apiToken: ${{ secrets.C3_TEST_CLOUDFLARE_API_TOKEN }}
saveDiffs: false