diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index d9440450..945208de 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -27,7 +27,7 @@ jobs: os: - macos-latest - ubuntu-latest - - windows-latest + # - windows-latest sdk: - latest @@ -106,8 +106,8 @@ jobs: matrix: os: - macos-latest - - ubuntu-latest - - windows-latest + # - ubuntu-latest + # - windows-latest sdk: - latest @@ -138,17 +138,16 @@ jobs: - name: Test run: | - cargo test -p=cargo-playdate -- --nocapture + cargo test -p=cargo-playdate -- --nocapture --test-threads=1 rm -rf ./target/tmp - name: Test (+usb) run: | - cargo test -p=cargo-playdate --features=usb -- --nocapture + cargo test -p=cargo-playdate --features=usb -- --nocapture --test-threads=1 rm -rf ./target/tmp - name: Install - run: | - cargo install -p=cargo-playdate --debug + run: cargo install --path=./cargo --debug - name: Examples run: | diff --git a/cargo/tests/build/simple.rs b/cargo/tests/build/simple.rs index c49ae113..09d7ef88 100644 --- a/cargo/tests/build/simple.rs +++ b/cargo/tests/build/simple.rs @@ -20,7 +20,11 @@ fn run_build(crate_path: &Path, .map(Into::into) .chain([OsString::from(target_dir_arg)]); let output = Tool::build(&crate_path, args)?; - assert!(output.status.success()); + assert!( + output.status.success(), + "Tool failed with stderr:\n{}", + std::str::from_utf8(&output.stderr).unwrap() + ); Ok((output, target_dir)) } @@ -262,7 +266,7 @@ mod examples { } #[test] - /// target: playdate hardware + /// target: playdate hardware+simulator(host) fn sim_dev_release_examples() -> Result<()> { let dev_target = DEVICE_TARGET; let host_target = target_triple();