From 41d50dcd4dda987aed29bb0a8a4511acfe38d121 Mon Sep 17 00:00:00 2001 From: Jiahao XU <30436523+NobodyXu@users.noreply.github.com> Date: Thu, 28 Nov 2024 18:50:43 +1000 Subject: [PATCH] Fix ci.yml (#42) * 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 <30436523+NobodyXu@users.noreply.github.com> * Fix job test-pass Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com> --------- Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com> --- .github/workflows/ci.yml | 31 ------------------------------- 1 file changed, 31 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7108f95..bfa7561 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 @@ -115,7 +85,6 @@ jobs: tests-pass: name: Tests pass needs: - - test - lint - msrv if: always() # always run even if dependencies fail