Skip to content

Commit

Permalink
Fix ci.yml (#42)
Browse files Browse the repository at this point in the history
* Fix ci.yml

cargo-nextest now errors if no test is run.

Since we have no test anyway, this commit removes the job.

Signed-off-by: Jiahao XU <[email protected]>

* Fix job test-pass

Signed-off-by: Jiahao XU <[email protected]>

---------

Signed-off-by: Jiahao XU <[email protected]>
  • Loading branch information
NobodyXu authored Nov 28, 2024
1 parent 5e87c80 commit 41d50dc
Showing 1 changed file with 0 additions and 31 deletions.
31 changes: 0 additions & 31 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,36 +25,6 @@ env:
MSRV: 1.75.0

jobs:
test:
strategy:
fail-fast: false
matrix:
include:
- target: aarch64-apple-darwin
os: macos-14
- target: x86_64-unknown-linux-gnu
os: ubuntu-latest
- target: x86_64-pc-windows-msvc
os: windows-latest

runs-on: ${{ matrix.os }}
env:
CARGO_BUILD_TARGET: ${{ matrix.target }}

steps:
- uses: actions/checkout@v4

- name: Install tools
uses: taiki-e/install-action@v2
with:
tool: cargo-nextest

- uses: Swatinem/rust-cache@v2

- run: |
cargo nextest run
cargo test --doc
lint:
strategy:
fail-fast: false
Expand Down Expand Up @@ -115,7 +85,6 @@ jobs:
tests-pass:
name: Tests pass
needs:
- test
- lint
- msrv
if: always() # always run even if dependencies fail
Expand Down

0 comments on commit 41d50dc

Please sign in to comment.