Skip to content

Commit 0d05519

Browse files
committed
ci(e2e): run operator e2e on main push, drop helm matrix
- Trigger workflow on push to main so merges are covered. - Run e2e with METHOD=operator only; remove helm matrix leg and ARM/helm exclude. Made-with: Cursor
1 parent e3fb382 commit 0d05519

1 file changed

Lines changed: 7 additions & 11 deletions

File tree

.github/workflows/e2e.yaml

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ name: End-to-end tests
22

33
on:
44
workflow_dispatch:
5+
push:
6+
branches:
7+
- main
58
pull_request:
69
merge_group:
710

@@ -21,7 +24,7 @@ jobs:
2124
- uses: dorny/paths-filter@v3
2225
id: filter
2326
with:
24-
base: ${{ github.base_ref || github.event.merge_group.base_ref || 'main' }}
27+
base: ${{ github.base_ref || github.event.merge_group.base_ref || github.ref }}
2528
filters: |
2629
e2e:
2730
- 'controller/**'
@@ -32,19 +35,12 @@ jobs:
3235
3336
e2e-tests:
3437
needs: changes
35-
if: needs.changes.outputs.should_run == 'true' || github.event_name == 'workflow_dispatch'
38+
if: needs.changes.outputs.should_run == 'true' || github.event_name == 'workflow_dispatch' || (github.event_name == 'push' && github.ref == 'refs/heads/main')
3639
strategy:
3740
matrix:
3841
os:
3942
- ubuntu-24.04
4043
- ubuntu-24.04-arm
41-
method:
42-
- operator
43-
- helm
44-
exclude:
45-
# Only run operator on ARM, skip helm
46-
- os: ubuntu-24.04-arm
47-
method: helm
4844
runs-on: ${{ matrix.os }}
4945
timeout-minutes: 60
5046
steps:
@@ -63,13 +59,13 @@ jobs:
6359
run: make e2e-setup
6460
env:
6561
CI: true
66-
METHOD: ${{ matrix.method }}
62+
METHOD: operator
6763

6864
- name: Run e2e tests
6965
run: make e2e-run
7066
env:
7167
CI: true
72-
METHOD: ${{ matrix.method }}
68+
METHOD: operator
7369

7470
# ============================================================================
7571
# Compatibility tests: cross-version interop between controller and client/exporter

0 commit comments

Comments
 (0)