Skip to content

Commit 0fee859

Browse files
authored
[chore] Add optional label to ignore functional tests (#1665)
* Add optional PR label to ignore functional test results. This allows us to check in known breaking changes that will cause functional tests to fail, useful for Helm chart version upgrade tests. * patch
1 parent c1d2cc7 commit 0fee859

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/functional_test_v2.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ jobs:
4747
- k8sevents
4848
- istio
4949
runs-on: ubuntu-latest
50+
continue-on-error: ${{ contains(github.event.pull_request.labels.*.name, 'Ignore Tests') }}
5051
steps:
5152
- uses: actions/checkout@v4
5253
- uses: actions/setup-go@v5
@@ -108,6 +109,7 @@ jobs:
108109
KUBE_TEST_ENV: eks
109110
SKIP_TESTS: "true" # we need to skip functional tests as we have not set probes to listen to the traffic.
110111
runs-on: ubuntu-latest
112+
continue-on-error: ${{ contains(github.event.pull_request.labels.*.name, 'Ignore Tests') }}
111113
steps:
112114
- uses: actions/checkout@v4
113115
- uses: actions/setup-go@v5
@@ -146,6 +148,7 @@ jobs:
146148
KUBE_TEST_ENV: eks
147149
SKIP_TESTS: "true" # we need to skip functional tests as we have not set probes to listen to the traffic.
148150
runs-on: ubuntu-latest
151+
continue-on-error: ${{ contains(github.event.pull_request.labels.*.name, 'Ignore Tests') }}
149152
steps:
150153
- uses: actions/checkout@v4
151154
- name: Checkout main if in a PR
@@ -210,6 +213,7 @@ jobs:
210213
KUBE_TEST_ENV: eks
211214
SKIP_TESTS: "true" # we need to skip functional tests as we have not set probes to listen to the traffic.
212215
runs-on: ubuntu-latest
216+
continue-on-error: ${{ contains(github.event.pull_request.labels.*.name, 'Ignore Tests') }}
213217
steps:
214218
- uses: actions/checkout@v4
215219
- name: Checkout old release
@@ -263,6 +267,7 @@ jobs:
263267
KUBE_TEST_ENV: gke/autopilot
264268
SKIP_TESTS: "true"
265269
runs-on: ubuntu-latest
270+
continue-on-error: ${{ contains(github.event.pull_request.labels.*.name, 'Ignore Tests') }}
266271
steps:
267272
- uses: actions/checkout@v4
268273
- uses: actions/setup-go@v5
@@ -300,6 +305,7 @@ jobs:
300305
KUBE_TEST_ENV: gke/autopilot
301306
SKIP_TESTS: "true"
302307
runs-on: ubuntu-latest
308+
continue-on-error: ${{ contains(github.event.pull_request.labels.*.name, 'Ignore Tests') }}
303309
steps:
304310
- uses: actions/checkout@v4
305311
- name: Checkout main if in a PR
@@ -358,6 +364,7 @@ jobs:
358364
KUBE_TEST_ENV: aks
359365
SKIP_TESTS: "true"
360366
runs-on: ubuntu-latest
367+
continue-on-error: ${{ contains(github.event.pull_request.labels.*.name, 'Ignore Tests') }}
361368
steps:
362369
- uses: actions/checkout@v4
363370
- uses: actions/setup-go@v5
@@ -396,6 +403,7 @@ jobs:
396403
KUBE_TEST_ENV: gce
397404
SKIP_TESTS: "true"
398405
runs-on: ubuntu-latest
406+
continue-on-error: ${{ contains(github.event.pull_request.labels.*.name, 'Ignore Tests') }}
399407
steps:
400408
- uses: actions/checkout@v4
401409
- uses: actions/setup-go@v5

0 commit comments

Comments
 (0)