Skip to content

Commit 10c1096

Browse files
authored
Finish migration from old-style runtime tests to wit-bindgen test (#1269)
* Migrate `options` test to `wit-bindgen test` * Migrate `results` test to `wit-bindgen test` * Remove old `runtime` test infrastructure Closes #1220 * Rename `runtime-new` to `runtime`
1 parent 8aa2cc2 commit 10c1096

File tree

241 files changed

+736
-3450
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

241 files changed

+736
-3450
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -98,15 +98,6 @@ jobs:
9898
shell: powershell
9999
if: matrix.os == 'windows-latest' && matrix.lang == 'moonbit'
100100
101-
# Run (now legacy) crate tests. This'll eventually go away
102-
- run: |
103-
cargo test \
104-
-p wit-bindgen-cli \
105-
-p wit-bindgen-${{ matrix.lang }} \
106-
--no-default-features \
107-
--features ${{ matrix.lang }} \
108-
--release
109-
110101
# Run all codegen tests for this language
111102
- run: |
112103
cargo run test --languages ${{ matrix.lang }} tests/codegen \
@@ -116,7 +107,7 @@ jobs:
116107
# Run all runtime tests for this language, and also enable Rust in case this
117108
# language only implements either the runner or test component
118109
- run: |
119-
cargo run test --languages rust,${{ matrix.lang }} tests/runtime-new \
110+
cargo run test --languages rust,${{ matrix.lang }} tests/runtime \
120111
--artifacts target/artifacts \
121112
--rust-wit-bindgen-path ./crates/guest-rust
122113
@@ -130,6 +121,7 @@ jobs:
130121
- name: Install Rust
131122
run: rustup update stable --no-self-update && rustup default stable
132123
- run: rustup target add wasm32-wasip1
124+
- run: cargo test
133125
- run: cargo test -p wit-bindgen-core
134126
- run: cargo test -p wit-bindgen
135127
- run: cargo test --workspace --exclude 'wit-bindgen*'

0 commit comments

Comments
 (0)