Skip to content

Commit a96da11

Browse files
committed
Add first spin-test based tests
Signed-off-by: Ryan Levick <[email protected]>
1 parent e877bb6 commit a96da11

File tree

9 files changed

+539
-49
lines changed

9 files changed

+539
-49
lines changed

.github/workflows/build.yml

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,25 @@ jobs:
1919
default: true
2020
components: clippy, rustfmt
2121

22-
- name: "Install Wasm Rust target"
22+
- name: Install Wasm Rust target
2323
run: rustup target add wasm32-wasi
2424

25+
- name: Install spin-test
26+
run: |
27+
mkdir spin-install
28+
cd spin-install
29+
curl -fsSL https://developer.fermyon.com/downloads/install.sh | bash
30+
sudo mv spin /usr/local/bin/
31+
spin plugin install -u https://github.com/fermyon/spin-test/releases/download/canary/spin-test.json --yes
32+
33+
- name: Install cargo-component
34+
uses: baptiste0928/cargo-install@v3
35+
with:
36+
crate: cargo-component
37+
2538
- name: Make
26-
run: make
39+
run: |
40+
make
41+
make spin-test
2742
env:
28-
RUST_LOG: spin=trace
43+
RUST_LOG: spin=trace

0 commit comments

Comments
 (0)