Skip to content

Commit

Permalink
Fix nextest, drop machete
Browse files Browse the repository at this point in the history
  • Loading branch information
HadrienG2 committed Jan 29, 2025
1 parent 69a9909 commit a17200d
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ jobs:
if-no-files-found: error


# Formatter output and dependency checking don't depend on cargo features / OS
format-machete:
# Formatter output doesn't depend on cargo features / OS
format:
# Don't run CI twice when a PR is created from a branch internal to the repo
# Don't run in scheduled jobs, that's what "scheduled" is for
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
Expand All @@ -72,12 +72,6 @@ jobs:
- name: Check code formatting
run: cargo fmt --all --check

- name: Install cargo-machete
uses: taiki-e/install-action@cargo-machete

- name: Look for unused dependencies with cargo-machete
run: cargo machete


# Lints and test outcome can vary depending on hardware and benchmark features
lints-tests:
Expand Down Expand Up @@ -124,7 +118,7 @@ jobs:
uses: taiki-e/install-action@cargo-nextest

- name: Run tests
run: cargo nextest --workspace ${{ matrix.features }}
run: cargo nextest run --workspace ${{ matrix.features }}


# Update the book if all other CI jobs pass
Expand All @@ -139,7 +133,7 @@ jobs:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}

needs: ["render-book", "format-machete", "lints-tests"]
needs: ["render-book", "format", "lints-tests"]

# Grant GITHUB_TOKEN the permissions required to make a Pages deployment
permissions:
Expand Down Expand Up @@ -221,5 +215,5 @@ jobs:
uses: taiki-e/install-action@cargo-nextest

- name: Run the tests
run: cargo nextest --workspace ${{ matrix.features }}
run: cargo nextest run --workspace ${{ matrix.features }}

0 comments on commit a17200d

Please sign in to comment.