File tree Expand file tree Collapse file tree 13 files changed +42
-17
lines changed Expand file tree Collapse file tree 13 files changed +42
-17
lines changed Original file line number Diff line number Diff line change 51
51
- beta
52
52
- nightly
53
53
- 1.64.0 # MSRV
54
+ - 1.66.0 # MSRV
55
+ - 1.68.0 # MSRV
54
56
55
57
name : tests/${{ matrix.rust }}
56
58
steps :
Original file line number Diff line number Diff line change @@ -80,7 +80,18 @@ opt-level = 2
80
80
opt-level = 2
81
81
82
82
[workspace ]
83
- members = [" ndarray-rand" , " xtest-serialization" , " xtest-blas" , " xtest-numeric" ]
83
+ members = [
84
+ " ndarray-rand" ,
85
+ " extra-tests/serialization" ,
86
+ " extra-tests/blas" ,
87
+ " extra-tests/numeric" ,
88
+ ]
89
+
90
+ [workspace .dependencies ]
91
+ ndarray = { path = " ." }
92
+ num-traits = { version = " 0.2" , default-features = false }
93
+ num-complex = { version = " 0.4" , default-features = false }
94
+ ndarray-rand = { path = " ./ndarray-rand" }
84
95
85
96
[package .metadata .release ]
86
97
no-dev-version = true
Original file line number Diff line number Diff line change
1
+
2
+ # Extra Tests
3
+
4
+ These are test crates whose settings, features and dependencies should be
5
+ separate from the main crate.
Original file line number Diff line number Diff line change @@ -11,11 +11,11 @@ test = false
11
11
[dev-dependencies ]
12
12
approx = " 0.5"
13
13
defmac = " 0.2"
14
- num-traits = " 0.2 "
15
- num-complex = { version = " 0.4 " , default-features = false }
14
+ num-traits = { workspace = true }
15
+ num-complex = { workspace = true }
16
16
17
17
[dependencies ]
18
- ndarray = { path = " .. " , features = [" approx" , " blas " ] }
18
+ ndarray = { workspace = true , features = [" approx" ] }
19
19
20
20
blas-src = { version = " 0.10" , optional = true }
21
21
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change @@ -7,8 +7,8 @@ edition = "2018"
7
7
8
8
[dependencies ]
9
9
approx = " 0.5"
10
- ndarray = { path = " .. " , features = [" approx" ] }
11
- ndarray-rand = { path = " ../ndarray-rand " }
10
+ ndarray = { workspace = true , features = [" approx" ] }
11
+ ndarray-rand = { workspace = true }
12
12
rand_distr = " 0.4"
13
13
14
14
blas-src = { optional = true , version = " 0.10" , default-features = false , features = [" openblas" ] }
@@ -19,8 +19,8 @@ version = "0.8.0"
19
19
features = [" small_rng" ]
20
20
21
21
[dev-dependencies ]
22
- num-traits = { version = " 0.2.14 " , default-features = false }
23
- num-complex = { version = " 0.4 " , default-features = false }
22
+ num-traits = { workspace = true }
23
+ num-complex = { workspace = true }
24
24
25
25
[lib ]
26
26
test = false
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ edition = "2018"
9
9
test = false
10
10
11
11
[dependencies ]
12
- ndarray = { path = " .. " , features = [" serde" ] }
12
+ ndarray = { workspace = true , features = [" serde" ] }
13
13
14
14
[features ]
15
15
default = [" ron" ]
@@ -21,9 +21,14 @@ default-features = false
21
21
[dev-dependencies .serde_json ]
22
22
version = " 1.0.40"
23
23
24
+ [dev-dependencies .rmp ]
25
+ # Old version to work with Rust 1.64+
26
+ version = " =0.8.10"
27
+
24
28
[dev-dependencies .rmp-serde ]
25
- version = " 0.14.0"
29
+ # Old version to work with Rust 1.64+
30
+ version = " 0.14"
26
31
27
32
[dependencies .ron ]
28
- version = " 0.5 .1"
33
+ version = " 0.8 .1"
29
34
optional = true
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change @@ -12,11 +12,13 @@ cargo test --verbose --no-default-features
12
12
cargo test --release --verbose --no-default-features
13
13
cargo build --verbose --features " $FEATURES "
14
14
cargo test --verbose --features " $FEATURES "
15
- cargo test --manifest-path=ndarray-rand/Cargo.toml --no-default-features --verbose
16
- cargo test --manifest-path=ndarray-rand/Cargo.toml --features quickcheck --verbose
17
- cargo test --manifest-path=xtest-serialization/Cargo.toml --verbose
18
- cargo test --manifest-path=xtest-blas/Cargo.toml --verbose --features openblas-system
15
+ cargo test -p ndarray-rand --no-default-features --verbose
16
+ cargo test -p ndarray-rand --features ndarray-rand/quickcheck --verbose
17
+
18
+ cargo test -p serialization-tests -v
19
+ cargo test -p blas-tests -v --features blas-tests/openblas-system
20
+ cargo test -p numeric-tests -v
21
+ cargo test -p numeric-tests -v --features numeric-tests/test_blas
22
+
19
23
cargo test --examples
20
- cargo test --manifest-path=xtest-numeric/Cargo.toml --verbose
21
- cargo test --manifest-path=xtest-numeric/Cargo.toml --verbose --features test_blas
22
24
([ " $CHANNEL " != " nightly" ] || cargo bench --no-run --verbose --features " $FEATURES " )
You can’t perform that action at this time.
0 commit comments