Skip to content

Commit

Permalink
Enable Azure integration tests
Browse files Browse the repository at this point in the history
Signed-off-by: Hidde Beydals <[email protected]>
  • Loading branch information
hiddeco committed Mar 3, 2022
1 parent b4b3db3 commit ccfb4db
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,13 @@ jobs:
${{ runner.os }}-go-
- name: Verify
run: make verify
- name: Enable integration tests
# Only run integration tests for main branch
# if: github.ref == 'refs/heads/main'
run: |
echo "GO_BUILD_ARGS=-tags=integration" >> $GITHUB_ENV
- name: Run tests
run: make test
run: GO_BUILD_ARGS=$GO_BUILD_ARGS make test
- name: Setup Kubernetes
uses: engineerd/[email protected]
with:
Expand All @@ -56,8 +61,13 @@ jobs:
uses: actions/setup-go@v2
with:
go-version: 1.17.x
- name: Enable integration tests
# Only run integration tests for main branch
# if: github.ref == 'refs/heads/main'
run: |
echo "GO_BUILD_ARGS=-tags=integration" >> $GITHUB_ENV
- name: Run tests
run: make test
run: GO_BUILD_ARGS=$GO_BUILD_ARGS make test
- name: Prepare
id: prep
run: |
Expand Down

0 comments on commit ccfb4db

Please sign in to comment.