diff options
| author | Matthias Krüger <476013+matthiaskrgr@users.noreply.github.com> | 2025-06-11 13:48:10 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-11 13:48:10 +0200 |
| commit | 407e568381bcddb322dc79653224a5602cd1e1cc (patch) | |
| tree | 4a3cb499b7bbbec993bfb91561ea3f0df99f4262 | |
| parent | 90e4ba46ea521af3f53a1819cbb7f28cb9f57a53 (diff) | |
| parent | cb3d074f6a21f0c5ae36d811bfbe0c10578680ba (diff) | |
| download | rust-407e568381bcddb322dc79653224a5602cd1e1cc.tar.gz rust-407e568381bcddb322dc79653224a5602cd1e1cc.zip | |
Rollup merge of #142282 - Kobzol:citool-skip-tests, r=marcoieni
Only run `citool` tests on the `auto` branch Proposed here: [#t-infra > PR ci seems much to slow @ 💬](https://rust-lang.zulipchat.com/#narrow/channel/242791-t-infra/topic/PR.20ci.20seems.20much.20to.20slow/near/523159583). I haven't yet seen these tests failing on CI, so I think it's a good trade-off. r? `````@marcoieni`````
| -rw-r--r-- | .github/workflows/ci.yml | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e5054a07567..841bc39bf1e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -64,12 +64,18 @@ jobs: uses: Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6 # v2.7.8 with: workspaces: src/ci/citool + - name: Test citool + # Only test citool on the auto branch, to reduce latency of the calculate matrix job + # on PR/try builds. + if: ${{ github.ref == 'refs/heads/auto' }} + run: | + cd src/ci/citool + CARGO_INCREMENTAL=0 cargo test - name: Calculate the CI job matrix env: COMMIT_MESSAGE: ${{ github.event.head_commit.message }} run: | cd src/ci/citool - CARGO_INCREMENTAL=0 cargo test CARGO_INCREMENTAL=0 cargo run calculate-job-matrix >> $GITHUB_OUTPUT id: jobs job: |
