diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index c0445470..d7458aca 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -35,6 +35,9 @@ jobs: - name: build run: | VERBOSE=1 make build + - name: unit tests + run: | + VERBOSE=1 make unit-tests - name: lowercase the runner OS name shell: bash run: | diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 3ad3f11b..f0d3e491 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -37,13 +37,12 @@ jobs: path: _artifacts - name: Extract containerd-wasm-shims-v1-linux-${{ env.ARCH }} run: | - mkdir -p deployments/k3d/.tmp - tar -xzf _artifacts/containerd-wasm-shims-v1-linux-${{ env.ARCH }}.tar.gz -C deployments/k3d/.tmp + tar -xzf _artifacts/containerd-wasm-shims-v1-linux-${{ env.ARCH }}.tar.gz -C _artifacts - name: install k3d run: make install-k3d working-directory: ./deployments/k3d - name: run integration tests - run: make integration-test + run: BIN_DIR=_artifacts make integration-test - name: clean up k3d if: always() run: make test/clean diff --git a/Makefile b/Makefile index 06e2b27f..5fa4cc12 100644 --- a/Makefile +++ b/Makefile @@ -46,7 +46,7 @@ workloads: ./scripts/workloads.sh .PHONY: integration-tests -integration-tests: build check-bins move-bins up pod-status-check workloads +integration-tests: check-bins move-bins up pod-status-check workloads cargo test -- --nocapture .PHONY: tests/clean