Skip to content

Commit ccfb4db

Browse files
committed
Enable Azure integration tests
Signed-off-by: Hidde Beydals <[email protected]>
1 parent b4b3db3 commit ccfb4db

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

.github/workflows/e2e.yaml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,13 @@ jobs:
2929
${{ runner.os }}-go-
3030
- name: Verify
3131
run: make verify
32+
- name: Enable integration tests
33+
# Only run integration tests for main branch
34+
# if: github.ref == 'refs/heads/main'
35+
run: |
36+
echo "GO_BUILD_ARGS=-tags=integration" >> $GITHUB_ENV
3237
- name: Run tests
33-
run: make test
38+
run: GO_BUILD_ARGS=$GO_BUILD_ARGS make test
3439
- name: Setup Kubernetes
3540
uses: engineerd/[email protected]
3641
with:
@@ -56,8 +61,13 @@ jobs:
5661
uses: actions/setup-go@v2
5762
with:
5863
go-version: 1.17.x
64+
- name: Enable integration tests
65+
# Only run integration tests for main branch
66+
# if: github.ref == 'refs/heads/main'
67+
run: |
68+
echo "GO_BUILD_ARGS=-tags=integration" >> $GITHUB_ENV
5969
- name: Run tests
60-
run: make test
70+
run: GO_BUILD_ARGS=$GO_BUILD_ARGS make test
6171
- name: Prepare
6272
id: prep
6373
run: |

0 commit comments

Comments
 (0)