File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change 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/setup-kind@v0.5.0
3641 with :
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 : |
You can’t perform that action at this time.
0 commit comments