From 60e1571b899bd979e3ff7112b98aeb179b237579 Mon Sep 17 00:00:00 2001 From: Mees Delzenne Date: Thu, 11 Jul 2024 16:51:00 +0200 Subject: [PATCH] Fix ci --- .github/workflows/scheduled.yml | 2 +- .github/workflows/test.yml | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/scheduled.yml b/.github/workflows/scheduled.yml index 02aa275..3b2a75f 100644 --- a/.github/workflows/scheduled.yml +++ b/.github/workflows/scheduled.yml @@ -53,6 +53,6 @@ jobs: run: cargo update - name: cargo test if: hashFiles('Cargo.lock') != '' - run: cargo test --locked --all-features --all-targets + run: cargo test --locked --features tree --all-targets env: RUSTFLAGS: -D deprecated diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f4f5806..5842524 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -40,10 +40,10 @@ jobs: run: cargo generate-lockfile # https://twitter.com/jonhoo/status/1571290371124260865 - name: cargo test --locked - run: cargo test --locked --all-features --all-targets + run: cargo test --locked --features tree --all-targets # https://github.com/rust-lang/cargo/issues/6669 - name: cargo test --doc - run: cargo test --locked --all-features --doc + run: cargo test --locked --features tree --doc minimal: # This action chooses the oldest version of the dependencies permitted by Cargo.toml to ensure # that this crate is compatible with the minimal version that this crate and its dependencies @@ -82,7 +82,7 @@ jobs: - name: cargo update -Zminimal-versions run: cargo +nightly update -Zminimal-versions - name: cargo test - run: cargo test --locked --all-features --all-targets + run: cargo test --locked --all-features tree --all-targets os-check: # run cargo test on mac and windows runs-on: ${{ matrix.os }} @@ -107,7 +107,7 @@ jobs: if: hashFiles('Cargo.lock') == '' run: cargo generate-lockfile - name: cargo test - run: cargo test --locked --all-features --all-targets + run: cargo test --locked --features tree --all-targets coverage: # use llvm-cov to build and collect coverage and outputs in a format that # is compatible with codecov.io @@ -146,7 +146,7 @@ jobs: if: hashFiles('Cargo.lock') == '' run: cargo generate-lockfile - name: cargo llvm-cov - run: cargo llvm-cov --locked --all-features --lcov --output-path lcov.info + run: cargo llvm-cov --locked --features tree --lcov --output-path lcov.info - name: Record Rust version run: echo "RUST=$(rustc --version)" >> "$GITHUB_ENV" - name: Upload to codecov.io