From 50da7cb29b0a17312005a896777d63abb45cd69f Mon Sep 17 00:00:00 2001 From: Eliah Kagan <degeneracypressure@gmail.com> Date: Wed, 22 Jan 2025 05:29:42 -0500 Subject: [PATCH] Split out ARM64 test-fast from matrix, make nonrequired As suggested in: https://github.com/GitoxideLabs/gitoxide/issues/1790#issuecomment-2606481883 It likely won't have to be kept this way. But making it nonrequired for now makes it so that investigating what triggers the SIGSEGV (and SIGBUS) errors -- as well as other errors that were found while investigating that (d9e7fdb, e71b0cf, 5a71963) -- doesn't have to be rushed. --- .github/workflows/ci.yml | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 36511391c14..76b1b5f100e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -135,7 +135,6 @@ jobs: - windows-latest - macos-latest - ubuntu-latest - - ubuntu-24.04-arm runs-on: ${{ matrix.os }} @@ -161,6 +160,25 @@ jobs: - name: Check that tracked archives are up to date run: git diff --exit-code # If this fails, the fix is usually to commit a regenerated archive. + test-fast-arm: + runs-on: ubuntu-24.04-arm + + steps: + - uses: actions/checkout@v4 + - uses: dtolnay/rust-toolchain@stable + - uses: Swatinem/rust-cache@v2 + - uses: taiki-e/install-action@v2 + with: + tool: nextest + - name: Test (nextest) + env: + GIX_TEST_CREATE_ARCHIVES_EVEN_ON_CI: '1' + run: cargo nextest run --workspace --no-fail-fast + - name: Doctest + run: cargo test --workspace --doc --no-fail-fast + - name: Check that tracked archives are up to date + run: git diff --exit-code # If this fails, the fix is usually to commit a regenerated archive. + test-fixtures-windows: runs-on: windows-latest @@ -387,6 +405,7 @@ jobs: env: # List all jobs that are intended NOT to block PR auto-merge here. EXPECTED_NONBLOCKING_JOBS: |- + test-fast-arm test-fixtures-windows cargo-deny-advisories wasm