Merge pull request #17435 from vivekpatani/fix-fmt-job

*: add test-smoke to the pipeline and update test-smoke
This commit is contained in:
Benjamin Wang 2024-02-18 14:39:37 +00:00 committed by GitHub
commit c213177394
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 9 additions and 3 deletions

View File

@ -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
;;

View File

@ -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']"

View File

@ -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)