Skip to content

Commit

Permalink
use uploaded build artifacts for integration tests
Browse files Browse the repository at this point in the history
Signed-off-by: jiaxiao zhou <[email protected]>
  • Loading branch information
Mossaka committed Aug 20, 2023
1 parent ecfa925 commit c8195d4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c8195d4

Please sign in to comment.