From 192d6b7fd3a10e564f8f7982dbef0d111c819fc4 Mon Sep 17 00:00:00 2001 From: tjjfvi Date: Tue, 21 May 2024 16:09:01 -0400 Subject: [PATCH] ... --- .github/workflows/checks.yml | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index b5d5f267..5a0588a3 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -37,17 +37,12 @@ jobs: key: ${{ runner.os }}-test-${{ hashFiles('**/Cargo.lock') }} - run: cargo test --release test-cuda: + needs: test # don't bother the cuda machine if other tests are failing runs-on: [self-hosted, cuda] timeout-minutes: 10 steps: - uses: actions/checkout@v3 - uses: dsherret/rust-toolchain-file@v1 - - uses: actions/cache@v2 - with: - path: | - ~/.cargo/registry - ~/.cargo/git - target - key: ${{ runner.os }}-test-${{ hashFiles('**/Cargo.lock') }} - - run: cargo test --release + - run: . ~/.bashrc && cargo test --release + shell: bash {0}