Skip to content

Commit 9aa9651

Browse files
committed
CI: add tests to workflow
1 parent b464a07 commit 9aa9651

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

.github/workflows/ci.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ concurrency:
1111
cancel-in-progress: true
1212

1313
jobs:
14-
build:
14+
build-and-test:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- uses: actions/checkout@v4
@@ -21,10 +21,18 @@ jobs:
2121
- name: Install Rust
2222
run: rustup update stable --no-self-update && rustup default stable
2323

24-
- run: cargo build
24+
- name: Build
25+
run: cargo build
26+
27+
- name: Install test dependencies
28+
run: cargo install --locked wasmtime-cli --root tools
29+
30+
- name: Codegen Tests
31+
run: cargo run test --runner tools/bin/wasmtime --languages kotlin --artifacts target/artifacts tests/codegen
32+
2533

2634
notify-downstream:
27-
needs: build
35+
needs: build-and-test
2836
if: github.event_name == 'push'
2937
runs-on: ubuntu-latest
3038
steps:

0 commit comments

Comments
 (0)