diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 528f118e8f..dc69771f27 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -31,10 +31,8 @@ jobs: shell: bash - run: cargo test --no-default-features - run: cargo test - # skip systest on nightly because it requires the extprim crate which fails to compile on nightly rust - - run: if [[ "${{ matrix.rust }}" != "nightly" ]]; then cargo run --manifest-path systest/Cargo.toml; fi - shell: bash - - run: cargo test --manifest-path git2-curl/Cargo.toml + - run: cargo run -p systest + - run: cargo test -p git2-curl rustfmt: name: Rustfmt diff --git a/systest/Cargo.toml b/systest/Cargo.toml index 9047e7f307..fe5cabcf23 100644 --- a/systest/Cargo.toml +++ b/systest/Cargo.toml @@ -10,4 +10,4 @@ libgit2-sys = { path = "../libgit2-sys", features = ['https', 'ssh'] } libc = "0.2" [build-dependencies] -ctest = "0.2.17" +ctest2 = "0.4" diff --git a/systest/build.rs b/systest/build.rs index ed854e9d09..bb34d9de80 100644 --- a/systest/build.rs +++ b/systest/build.rs @@ -2,7 +2,7 @@ use std::env; use std::path::PathBuf; fn main() { - let mut cfg = ctest::TestGenerator::new(); + let mut cfg = ctest2::TestGenerator::new(); if let Some(root) = env::var_os("DEP_GIT2_ROOT") { cfg.include(PathBuf::from(root).join("include")); }