Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
vigoo committed Dec 11, 2024
1 parent 3da0e57 commit 6e83a2d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 23 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -373,6 +373,9 @@ jobs:
run: git fetch origin --deepen=1
- name: Setup Rust
run: rustup update stable --no-self-update && rustup default stable
- uses: cargo-bins/cargo-binstall@main
- name: Install cargo-component
run: cargo binstall --no-confirm [email protected]
- uses: Swatinem/rust-cache@v2
with:
shared-key: debug
Expand All @@ -388,11 +391,6 @@ jobs:
with:
redis-version: latest
auto-start: false
- uses: cargo-bins/cargo-binstall@main
- name: Install cargo-component
run: cargo binstall --no-confirm [email protected]
- name: Debug env
run: which cargo-component
- name: Integration tests
env:
QUIET: true
Expand Down
11 changes: 5 additions & 6 deletions Makefile.toml
Original file line number Diff line number Diff line change
Expand Up @@ -251,12 +251,11 @@ description = "Runs integration tests only"
dependencies = ["build-bins"]
env = { "RUST_LOG" = "info", "RUST_BACKTRACE" = "1" }
script = '''
#cargo test --package integration-tests --test integration -- --nocapture --report-time $JUNIT_OPTS
#cargo test --package golem-component-service-base --test tests -- --nocapture --report-time $JUNIT_OPTS
#cargo test --package golem-worker-service-base --test services_tests -- --nocapture --report-time $JUNIT_OPTS
#cargo test --package golem-worker-service-base --test api_gateway_end_to_end_tests -- --nocapture --report-time $JUNIT_OPTS
#cargo test --package golem-service-base --test integration -- --nocapture --report-time $JUNIT_OPTS
which cargo-component
cargo test --package integration-tests --test integration -- --nocapture --report-time $JUNIT_OPTS
cargo test --package golem-component-service-base --test tests -- --nocapture --report-time $JUNIT_OPTS
cargo test --package golem-worker-service-base --test services_tests -- --nocapture --report-time $JUNIT_OPTS
cargo test --package golem-worker-service-base --test api_gateway_end_to_end_tests -- --nocapture --report-time $JUNIT_OPTS
cargo test --package golem-service-base --test integration -- --nocapture --report-time $JUNIT_OPTS
cargo test --package wasm-rpc-stubgen-tests-integration --tests -- --nocapture --test-threads=1 --report-time
'''
# $JUNIT_OPTS temporarily removed from wasm-rpc-stubgen-tests-integration to help debugging on CI
Expand Down
12 changes: 0 additions & 12 deletions wasm-rpc-stubgen/tests-integration/tests/compose.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,18 +33,6 @@ test_r::enable!();

#[test]
async fn compose_with_single_stub() {
// TODO: just for CI debug
std::process::Command::new("sh")
.arg("-c")
.arg("which cargo-component")
.status()
.unwrap();
std::process::Command::new("sh")
.arg("-c")
.arg("which cargo")
.status()
.unwrap();

let (_source_dir, stub_dir, stub_wasm) = init_stub("all-wit-types").await;
let caller_dir = init_caller("caller-no-dep-importstub");

Expand Down

0 comments on commit 6e83a2d

Please sign in to comment.