Skip to content

Commit a526670

Browse files
committed
Trim unwanted CI actions
1 parent cfc5c24 commit a526670

File tree

3 files changed

+7
-129
lines changed

3 files changed

+7
-129
lines changed

.github/workflows/benches.yml

Lines changed: 0 additions & 42 deletions
This file was deleted.

.github/workflows/gh-pages.yml

Lines changed: 0 additions & 47 deletions
This file was deleted.

.github/workflows/test.yml

Lines changed: 7 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,8 @@ jobs:
4343
uses: dtolnay/rust-toolchain@master
4444
with:
4545
toolchain: nightly
46-
- name: rand
47-
run: cargo doc --all-features --no-deps
4846
- name: rand_core
49-
run: cargo doc --all-features --package rand_core --no-deps
50-
- name: rand_chacha
51-
run: cargo doc --all-features --package rand_chacha --no-deps
52-
- name: rand_pcg
53-
run: cargo doc --all-features --package rand_pcg --no-deps
47+
run: cargo doc --all-features --no-deps
5448

5549
test:
5650
runs-on: ${{ matrix.os }}
@@ -100,29 +94,10 @@ jobs:
10094
if: ${{ matrix.variant == 'minimal_versions' }}
10195
run: |
10296
cargo generate-lockfile -Z minimal-versions
103-
- name: Maybe nightly
104-
if: ${{ matrix.toolchain == 'nightly' }}
105-
run: |
106-
cargo test --target ${{ matrix.target }} --features=nightly
107-
cargo test --target ${{ matrix.target }} --all-features
108-
cargo test --target ${{ matrix.target }} --lib --tests --no-default-features
109-
- name: Test rand
110-
run: |
111-
cargo test --target ${{ matrix.target }} --lib --tests --no-default-features
112-
cargo build --target ${{ matrix.target }} --no-default-features --features alloc,os_rng,small_rng,unbiased
113-
cargo test --target ${{ matrix.target }} --lib --tests --no-default-features --features=alloc,os_rng,small_rng
114-
cargo test --target ${{ matrix.target }} --examples
115-
- name: Test rand (all stable features)
116-
run: |
117-
cargo test --target ${{ matrix.target }} --features=serde,log,small_rng
11897
- name: Test rand_core
11998
run: |
120-
cargo test --target ${{ matrix.target }} --manifest-path rand_core/Cargo.toml --no-default-features
121-
cargo test --target ${{ matrix.target }} --manifest-path rand_core/Cargo.toml --features serde
122-
- name: Test rand_pcg
123-
run: cargo test --target ${{ matrix.target }} --manifest-path rand_pcg/Cargo.toml --features=serde
124-
- name: Test rand_chacha
125-
run: cargo test --target ${{ matrix.target }} --manifest-path rand_chacha/Cargo.toml --features=serde
99+
cargo test --target ${{ matrix.target }} --no-default-features
100+
cargo test --target ${{ matrix.target }} --features serde
126101
127102
test-cross:
128103
runs-on: ${{ matrix.os }}
@@ -151,11 +126,7 @@ jobs:
151126
- name: Test
152127
run: |
153128
# all stable features:
154-
cross test --no-fail-fast --target ${{ matrix.target }} --features=serde,log,small_rng
155-
cross test --no-fail-fast --target ${{ matrix.target }} --examples
156-
cross test --no-fail-fast --target ${{ matrix.target }} --manifest-path rand_core/Cargo.toml
157-
cross test --no-fail-fast --target ${{ matrix.target }} --manifest-path rand_pcg/Cargo.toml --features=serde
158-
cross test --no-fail-fast --target ${{ matrix.target }} --manifest-path rand_chacha/Cargo.toml
129+
cross test --no-fail-fast --target ${{ matrix.target }}
159130
160131
test-miri:
161132
runs-on: ubuntu-latest
@@ -168,13 +139,9 @@ jobs:
168139
cargo miri setup
169140
- name: Test rand
170141
run: |
171-
cargo miri test --no-default-features --lib --tests
172-
cargo miri test --features=log,small_rng
173-
cargo miri test --manifest-path rand_core/Cargo.toml
174-
cargo miri test --manifest-path rand_core/Cargo.toml --features=serde
175-
cargo miri test --manifest-path rand_core/Cargo.toml --no-default-features
176-
cargo miri test --manifest-path rand_pcg/Cargo.toml --features=serde
177-
cargo miri test --manifest-path rand_chacha/Cargo.toml --no-default-features
142+
cargo miri test
143+
cargo miri test --features=serde
144+
cargo miri test --no-default-features
178145
179146
test-no-std:
180147
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)