Skip to content

Commit 88e06b3

Browse files
committed
ci: Add self-hosted test job
1 parent f733e39 commit 88e06b3

File tree

2 files changed

+27
-2
lines changed

2 files changed

+27
-2
lines changed

.github/workflows/checks.yml

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,14 +54,33 @@ jobs:
5454
with:
5555
test-results: test.json
5656

57-
e2e-test:
57+
e2e-quick-start:
5858
strategy:
5959
matrix:
6060
provider:
6161
- Docker
62+
# Uncomment below once we have the ability to run e2e tests on AWS from GHA.
63+
# - AWS
6264
uses: ./.github/workflows/e2e.yml
6365
with:
6466
provider: ${{ matrix.provider }}
67+
focus: Quick start
68+
secrets: inherit
69+
permissions:
70+
contents: read
71+
checks: write
72+
73+
e2e-self-hosted:
74+
strategy:
75+
matrix:
76+
provider:
77+
- Docker
78+
# Uncomment below once we have the ability to run e2e tests on AWS from GHA.
79+
# - AWS
80+
uses: ./.github/workflows/e2e.yml
81+
with:
82+
provider: ${{ matrix.provider }}
83+
focus: Self-hosted
6584
secrets: inherit
6685
permissions:
6786
contents: read

.github/workflows/e2e.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,12 @@ on:
88
description: Infrastructure provider to run e2e tests with
99
type: string
1010
required: true
11+
skip:
12+
description: e2e tests to skip
13+
type: string
14+
focus:
15+
description: e2e tests to focus
16+
type: string
1117

1218
jobs:
1319
e2e-test:
@@ -37,7 +43,7 @@ jobs:
3743
${{ runner.os }}-go-
3844
3945
- name: Run e2e tests
40-
run: devbox run -- make e2e-test E2E_LABEL='provider:${{ inputs.provider }}'
46+
run: devbox run -- make e2e-test E2E_LABEL='provider:${{ inputs.provider }}' E2E_SKIP='${{ inputs.skip }}' E2E_FOCUS='${{ inputs.focus }}'
4147
env:
4248
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4349

0 commit comments

Comments
 (0)