File tree Expand file tree Collapse file tree 2 files changed +17
-5
lines changed Expand file tree Collapse file tree 2 files changed +17
-5
lines changed Original file line number Diff line number Diff line change 4
4
pull_request :
5
5
branches : [ master ]
6
6
7
-
8
7
name : Continuous integration
9
8
10
-
11
9
env :
12
10
CARGO_TERM_COLOR : always
13
11
HOST : x86_64-unknown-linux-gnu
14
12
FEATURES : " test docs"
15
13
16
14
jobs :
17
- ci :
15
+ tests :
18
16
runs-on : ubuntu-latest
19
17
strategy :
20
18
matrix :
31
29
profile : minimal
32
30
toolchain : ${{ matrix.rust }}
33
31
override : true
34
- components : rustfmt, clippy
35
32
- name : Install openblas
36
33
run : sudo apt-get install libopenblas-dev gfortran
37
34
- run : ./scripts/all-tests.sh "$FEATURES" ${{ matrix.rust }}
38
35
36
+ clippy :
37
+ runs-on : ubuntu-latest
38
+ strategy :
39
+ matrix :
40
+ rust :
41
+ - beta
42
+ steps :
43
+ - uses : actions/checkout@v2
44
+ - uses : actions-rs/toolchain@v1
45
+ with :
46
+ profile : minimal
47
+ toolchain : ${{ matrix.rust }}
48
+ override : true
49
+ components : clippy
50
+ - run : cargo clippy
51
+
Original file line number Diff line number Diff line change @@ -17,5 +17,4 @@ cargo test --manifest-path=ndarray-rand/Cargo.toml --features quickcheck --verbo
17
17
cargo test --manifest-path=serialization-tests/Cargo.toml --verbose
18
18
cargo test --manifest-path=blas-tests/Cargo.toml --verbose
19
19
CARGO_TARGET_DIR=target/ cargo test --manifest-path=numeric-tests/Cargo.toml --verbose
20
- ([ " $CHANNEL " != " beta" ] || (rustup component add clippy && cargo clippy))
21
20
([ " $CHANNEL " != " nightly" ] || cargo bench --no-run --verbose --features " $FEATURES " )
You can’t perform that action at this time.
0 commit comments