diff --git a/.github/workflows/tests-template.yaml b/.github/workflows/tests-template.yaml index 6c54979b0..d0caacfec 100644 --- a/.github/workflows/tests-template.yaml +++ b/.github/workflows/tests-template.yaml @@ -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 ;; diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 01bccb643..1340e1851 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -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']" diff --git a/Makefile b/Makefile index 66b4aba9e..78fb0fe37 100644 --- a/Makefile +++ b/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)