-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test/workflow: Update make test commands and related workflows (#657)
* update make test commands and workflows * add TEST_ARGS to unit and integration test commands * roll back boto3 version for test report upload
- Loading branch information
1 parent
a8748fc
commit 7d14d5c
Showing
6 changed files
with
24 additions
and
29 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
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
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 |
---|---|---|
|
@@ -36,6 +36,6 @@ jobs: | |
- name: run tests | ||
run: | | ||
make int-test | ||
make test-int | ||
env: | ||
LINODE_TOKEN: ${{ secrets.DX_LINODE_TOKEN }} |
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
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
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 |
---|---|---|
@@ -1,28 +1,23 @@ | ||
.PHONY: testint | ||
.PHONY: test-int | ||
|
||
testint: | ||
test-int: | ||
@LINODE_FIXTURE_MODE="play" \ | ||
LINODE_TOKEN="awesometokenawesometokenawesometoken" \ | ||
LINODE_API_VERSION="v4beta" \ | ||
GO111MODULE="on" \ | ||
go test -v ./integration $(ARGS) | ||
go test -v ./integration $(TEST_ARGS) | ||
|
||
.PHONY: testunit | ||
.PHONY: test-unit | ||
|
||
testunit: | ||
go test -v ./unit/... | ||
test-unit: | ||
go test -v ./unit/... $(TEST_ARGS) | ||
|
||
.PHONY: smoketest | ||
.PHONY: test-smoke | ||
|
||
smoketest: | ||
test-smoke: | ||
@LINODE_FIXTURE_MODE="record" \ | ||
LINODE_TOKEN=$(LINODE_TOKEN) \ | ||
LINODE_API_VERSION="v4beta" \ | ||
LINODE_URL="$(LINODE_URL)" \ | ||
GO111MODULE="on" \ | ||
go test -v -run smoke ./integration/... | ||
|
||
|
||
.PHONY: unit-test | ||
unit-test: | ||
go test -v ./unit $(ARGS) |