Skip to content

Commit a3e7617

Browse files
committed
Auto merge of #462 - udoprog:basic-tests, r=Amanieu
Gate tests behind basic checks passing first Avoids running the full test matrix if basic inexpensive checks like formatting, clippy, or miri does not pass first. I usually opt to put a simple `cargo check` or `cargo build` check in there too, but the `miri` job accomplishes most of that already and only has a two minute runtime. All though I'd be happy to break it up further if needed to speed up the total build.
2 parents 2a10eac + 85f1bb6 commit a3e7617

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/rust.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,17 @@ jobs:
2424
TARGET: i586-unknown-linux-gnu
2525
run: sh ci/tools.sh
2626

27+
basics:
28+
runs-on: ubuntu-latest
29+
needs:
30+
- miri
31+
- rustfmt_clippy
32+
steps:
33+
- run: exit 0
34+
2735
test:
2836
runs-on: ${{ matrix.os }}
37+
needs: basics
2938
steps:
3039
- uses: actions/checkout@v3
3140
- uses: actions-rs/toolchain@v1

0 commit comments

Comments
 (0)