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 21, 2023
1 parent ecfa925 commit 21752f6
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 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
8 changes: 3 additions & 5 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,17 +33,15 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: actions/download-artifact@v3
with:
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
mkdir -p ./bin
tar -xzf containerd-wasm-shims-v1-linux-${{ env.ARCH }}/containerd-wasm-shims-v1-linux-${{ env.ARCH }}.tar.gz -C ./bin
- name: install k3d
run: make install-k3d
working-directory: ./deployments/k3d
- name: run integration tests
run: make integration-test
run: BIN_DIR="./bin" make integration-tests
- 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: install-cross check-bins move-bins up pod-status-check workloads
cargo test -- --nocapture

.PHONY: tests/clean
Expand Down

0 comments on commit 21752f6

Please sign in to comment.