Skip to content

Commit

Permalink
*: add test-smoke to the pipeline and update test-smoke
Browse files Browse the repository at this point in the history
- add test-smoke to the tests.yaml pipeline
- add bom and dep to the test-smoke definition
- etcd-io#17400
- etcd-io#17401
- wait for etcd-io#17433 to merge
- wait for etcd-io#17434 to merge

Signed-off-by: vivekpatani <[email protected]>
  • Loading branch information
vivekpatani committed Feb 16, 2024
1 parent b795a8f commit 6f06355
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/tests-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
;;
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand All @@ -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']"
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ 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

test-full:
$(info log-file: test-$(TEST_SUFFIX).log)
Expand Down

0 comments on commit 6f06355

Please sign in to comment.