diff --git a/.github/workflows/databases.yml b/.github/workflows/databases.yml index 60b9a865da1..a93399a7981 100644 --- a/.github/workflows/databases.yml +++ b/.github/workflows/databases.yml @@ -47,7 +47,7 @@ jobs: repo-token: ${{ secrets.GITHUB_TOKEN }} - name: Build run: | - cargo build --locked --features aws,scylladb + cargo build --locked --features aws,scylladb --all-targets - name: Setup local ScyllaDB instance run: | docker run --name scylladb -d -p 9042:9042 scylladb/scylla diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index dbad47188d3..3278c195d89 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -57,25 +57,19 @@ jobs: run: | cd examples cargo build --locked --release --target wasm32-unknown-unknown - - name: Compile the workspace with the default features (test) + - name: Compile the workspace with the default features run: | - cargo test --locked --no-run - - name: Compile the workspace with the default features (build) - run: | - cargo build --locked + cargo build --all-targets --locked - name: Run all tests using the default features run: | cargo test --locked - name: Run some extra execution tests with wasmtime run: | cargo test --locked -p linera-execution --features wasmtime - - name: Build Wasm test runner - # use debug mode to avoid building wasmtime in release mode - run: | - cargo build --locked --bin test-runner - name: Run Wasm application tests run: | cd examples + # use debug mode to avoid building wasmtime in release mode CARGO_TARGET_WASM32_UNKNOWN_UNKNOWN_RUNNER=../target/debug/test-runner cargo test --target wasm32-unknown-unknown cargo test --locked --target x86_64-unknown-linux-gnu - name: Run Witty integration tests