-
Notifications
You must be signed in to change notification settings - Fork 191
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Hidde Beydals <[email protected]>
- Loading branch information
Showing
1 changed file
with
12 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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: | ||
|
@@ -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: | | ||
|