Skip to content

Commit

Permalink
Merge pull request #90 from epage/fix
Browse files Browse the repository at this point in the history
fix: Get test_unstable building
  • Loading branch information
epage authored May 6, 2024
2 parents 0e562db + b83a21a commit 0f5af95
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
- name: Build
run: cargo test --workspace --no-run
- name: Test
run: cargo hack test --feature-powerset --workspace
run: cargo hack test --feature-powerset --exclude-features strict_unstable --workspace
msrv:
name: "Check MSRV"
runs-on: ubuntu-latest
Expand All @@ -64,7 +64,7 @@ jobs:
- uses: Swatinem/rust-cache@v2
- uses: taiki-e/install-action@cargo-hack
- name: Default features
run: cargo hack check --feature-powerset --locked --rust-version --ignore-private --workspace --all-targets
run: cargo hack check --feature-powerset --exclude-features strict_unstable --locked --rust-version --ignore-private --workspace --all-targets
lockfile:
runs-on: ubuntu-latest
steps:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/rust-next.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
- name: Build
run: cargo test --workspace --no-run
- name: Test
run: cargo hack test --feature-powerset --workspace
run: cargo hack test --feature-powerset --exclude-features strict_unstable --workspace
latest:
name: "Check latest dependencies"
runs-on: ubuntu-latest
Expand All @@ -58,4 +58,4 @@ jobs:
- name: Build
run: cargo test --workspace --no-run
- name: Test
run: cargo hack test --feature-powerset --workspace
run: cargo hack test --feature-powerset --exclude-features strict_unstable --workspace
2 changes: 1 addition & 1 deletion src/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ impl CargoBuild {
/// println!("artifact={}", run.path().display());
/// ```
#[cfg(feature = "test_unstable")]
pub fn run_tests(self) -> CargoResult<impl Iterator<Item = Result<CargoTest, CargoError>>> {
pub fn run_tests(self) -> CargoResult<impl Iterator<Item = CargoResult<CargoTest>>> {
let msgs = CommandMessages::with_command(self.cmd)?;
Ok(CargoTest::with_messages(msgs))
}
Expand Down

0 comments on commit 0f5af95

Please sign in to comment.