diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 1a11b32ae..e18768773 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -46,7 +46,11 @@ jobs: strategy: matrix: os: [ubuntu-latest] - runs-on: ${{ matrix.os }} + runs-on: + # We use the large GitHub actions runners for faster testing + # For Ubuntu and Windows, this requires Organization-level configuration + # See: https://docs.github.com/en/actions/using-github-hosted-runners/about-larger-runners/about-larger-runners#about-ubuntu-and-windows-larger-runners + labels: ${{ matrix.os }}-large name: "cargo test | ${{ matrix.os }}" steps: - uses: actions/checkout@v4 @@ -67,9 +71,12 @@ jobs: uses: taiki-e/install-action@v2 with: tool: cargo-insta + - name: "Install cargo nextest" + uses: taiki-e/install-action@v2 + with: + tool: cargo-nextest - uses: Swatinem/rust-cache@v2 with: save-if: ${{ github.ref == 'refs/heads/main' }} - - name: "Tests (Ubuntu)" - if: ${{ matrix.os == 'ubuntu-latest' }} - run: cargo insta test --all --all-features --unreferenced reject + - name: "Tests" + run: cargo nextest run --all --all-features --status-level skip --failure-output immediate-final --no-fail-fast -j 12