Add SKIP_UNIT_TESTS env
Some checks failed
Build / build (pull_request) Has been cancelled
Deploy Contract / deploy (pull_request) Has been cancelled
Lint / Run flake8 on python integration tests (pull_request) Has been cancelled
Lint / Run golangci-lint (pull_request) Has been cancelled
Tests / test-unit (pull_request) Successful in 5m55s
Tests / test-rpc (pull_request) Successful in 5m43s
Tests / sdk_tests (pull_request) Failing after 8m7s
Tests / test-importer (pull_request) Has been cancelled
Some checks failed
Build / build (pull_request) Has been cancelled
Deploy Contract / deploy (pull_request) Has been cancelled
Lint / Run flake8 on python integration tests (pull_request) Has been cancelled
Lint / Run golangci-lint (pull_request) Has been cancelled
Tests / test-unit (pull_request) Successful in 5m55s
Tests / test-rpc (pull_request) Successful in 5m43s
Tests / sdk_tests (pull_request) Failing after 8m7s
Tests / test-importer (pull_request) Has been cancelled
This commit is contained in:
parent
1b37f46058
commit
e1ca4ad3ac
@ -8,6 +8,9 @@ on:
|
||||
|
||||
jobs:
|
||||
test-unit:
|
||||
# This test case doesn't work in CI, run as root.
|
||||
env:
|
||||
SKIP_UNIT_TESTS: TestInitConfigNonNotExistError
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/setup-go@v3
|
||||
|
2
Makefile
2
Makefile
@ -316,7 +316,7 @@ TEST_TARGETS := test-unit test-unit-cover test-race
|
||||
# Test runs-specific rules. To add a new test target, just add
|
||||
# a new rule, customise ARGS or TEST_PACKAGES ad libitum, and
|
||||
# append the new rule to the TEST_TARGETS list.
|
||||
test-unit: ARGS=-timeout=10m -race -test.v
|
||||
test-unit: ARGS=-timeout=10m -race -test.v -skip $(SKIP_UNIT_TESTS)
|
||||
test-unit: TEST_PACKAGES=$(PACKAGES_UNIT)
|
||||
|
||||
test-race: ARGS=-race
|
||||
|
Loading…
Reference in New Issue
Block a user