Skip to content

Commit

Permalink
Enable Azure integration tests
Browse files Browse the repository at this point in the history
Tests are configured in such a way that they only run for `main`.

Signed-off-by: Hidde Beydals <hello@hidde.co>
  • Loading branch information
hiddeco committed Mar 3, 2022
1 parent bd12cdb commit d55a759
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@ 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_TEST_ARGS="-tags integration"' >> $GITHUB_ENV
- name: Run tests
run: make test
- name: Setup Kubernetes
Expand Down Expand Up @@ -56,6 +61,11 @@ 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_TEST_ARGS="-tags integration"' >> $GITHUB_ENV
- name: Run tests
run: make test
- name: Prepare
Expand Down

0 comments on commit d55a759

Please sign in to comment.