mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
Merge pull request #17435 from vivekpatani/fix-fmt-job
*: add test-smoke to the pipeline and update test-smoke
This commit is contained in:
commit
c213177394
3
.github/workflows/tests-template.yaml
vendored
3
.github/workflows/tests-template.yaml
vendored
@ -37,6 +37,9 @@ jobs:
|
||||
|
||||
echo "${TARGET}"
|
||||
case "${TARGET}" in
|
||||
linux-test-smoke)
|
||||
GOARCH=${{ inputs.arch }} CPU=4 RACE='false' make test-smoke
|
||||
;;
|
||||
linux-integration-1-cpu)
|
||||
GOARCH=${{ inputs.arch }} CPU=1 RACE='false' make test-integration
|
||||
;;
|
||||
|
6
.github/workflows/tests.yaml
vendored
6
.github/workflows/tests.yaml
vendored
@ -6,7 +6,8 @@ jobs:
|
||||
with:
|
||||
arch: amd64
|
||||
runs-on: ubuntu-latest
|
||||
targets: "['linux-integration-1-cpu',
|
||||
targets: "['linux-test-smoke',
|
||||
'linux-integration-1-cpu',
|
||||
'linux-integration-2-cpu',
|
||||
'linux-integration-4-cpu',
|
||||
'linux-unit-4-cpu-race',
|
||||
@ -17,7 +18,8 @@ jobs:
|
||||
with:
|
||||
arch: arm64
|
||||
runs-on: actuated-arm64-8cpu-32gb
|
||||
targets: "['linux-integration-1-cpu',
|
||||
targets: "['linux-test-smoke',
|
||||
'linux-integration-1-cpu',
|
||||
'linux-integration-2-cpu',
|
||||
'linux-integration-4-cpu',
|
||||
'linux-unit-4-cpu-race']"
|
||||
|
3
Makefile
3
Makefile
@ -155,7 +155,8 @@ test:
|
||||
|
||||
test-smoke:
|
||||
$(info log-file: test-$(TEST_SUFFIX).log)
|
||||
PASSES="fmt build unit" ./test.sh 2<&1 | tee test-$(TEST_SUFFIX).log
|
||||
PASSES="fmt bom dep build unit" ./test.sh 2<&1 | tee test-$(TEST_SUFFIX).log
|
||||
! grep "FAIL:" test-$(TEST_SUFFIX).log
|
||||
|
||||
test-full:
|
||||
$(info log-file: test-$(TEST_SUFFIX).log)
|
||||
|
Loading…
x
Reference in New Issue
Block a user