File tree Expand file tree Collapse file tree 5 files changed +12
-51
lines changed Expand file tree Collapse file tree 5 files changed +12
-51
lines changed Original file line number Diff line number Diff line change 20
20
crate : cargo-tarpaulin
21
21
- name : Run cargo-tarpaulin
22
22
run : |
23
- cargo +nightly tarpaulin --workspace -- all-features --ignore-tests --line --output-dir coverage --timeout 10 --out Lcov
23
+ cargo +nightly tarpaulin --all-features --ignore-tests --line --output-dir coverage --timeout 10 --out Lcov
24
24
- name : Post to Coveralls
25
25
uses : coverallsapp/github-action@v2
26
26
with :
Original file line number Diff line number Diff line change 42
42
steps :
43
43
- uses : actions/checkout@v3
44
44
- uses : dtolnay/rust-toolchain@stable
45
- - run : cargo doc --all-features --workspace
45
+ - run : cargo doc --all-features
46
46
format :
47
47
runs-on : ubuntu-latest
48
48
timeout-minutes : 10
71
71
crate : cargo-tarpaulin
72
72
- name : Run cargo-tarpaulin
73
73
run : |
74
- cargo +nightly tarpaulin --workspace -- all-features --ignore-tests --line --output-dir coverage --timeout 10 --out Lcov
74
+ cargo +nightly tarpaulin --all-features --ignore-tests --line --output-dir coverage --timeout 10 --out Lcov
75
75
- name : Post to Coveralls
76
76
uses : coverallsapp/github-action@v2
77
77
with :
@@ -105,7 +105,7 @@ jobs:
105
105
- name : Test
106
106
env :
107
107
RUSTFLAGS : ' --cap-lints warn'
108
- run : cargo test --target x86_64-pc-windows-msvc --workspace
108
+ run : cargo test --target x86_64-pc-windows-msvc
109
109
- name : Build and Run
110
110
env :
111
111
RUSTFLAGS : ' --cap-lints warn'
Original file line number Diff line number Diff line change @@ -57,7 +57,6 @@ condition = { platforms = ["linux"] }
57
57
env = { "RUSTFLAGS" = " -C link-dead-code" }
58
58
args = [
59
59
" tarpaulin" ,
60
- " --workspace" ,
61
60
" --all-features" ,
62
61
" --ignore-tests" ,
63
62
" --line" ,
@@ -82,7 +81,6 @@ command = "cargo"
82
81
args = [
83
82
" doc" ,
84
83
" --all-features" ,
85
- " --workspace" ,
86
84
" ${@}"
87
85
]
88
86
@@ -94,7 +92,6 @@ command = "cargo"
94
92
args = [
95
93
" doc" ,
96
94
" --all-features" ,
97
- " --workspace" ,
98
95
" ${@}"
99
96
]
100
97
@@ -110,7 +107,6 @@ toolchain = "stable"
110
107
command = " cargo"
111
108
args = [
112
109
" clippy" ,
113
- " --workspace" ,
114
110
" --all-targets" ,
115
111
" --all-features" ,
116
112
" ${@}"
@@ -123,7 +119,6 @@ ignore_errors = true
123
119
command = " cargo"
124
120
args = [
125
121
" clippy" ,
126
- " --workspace" ,
127
122
" --all-targets" ,
128
123
" --all-features" ,
129
124
" ${@}"
@@ -160,15 +155,19 @@ script = ['''
160
155
cargo +nightly about generate "docs/licenses.hbs" > "docs/licenses.html"
161
156
''' ]
162
157
163
- [tasks .publish ]
164
- command = " ${CARGO_MAKE_WORKSPACE_WORKING_DIRECTORY}/scripts/publish.bash"
165
-
166
158
[tasks .test ]
167
159
dependencies = [" update-rust-stable" ]
168
160
toolchain = " stable"
169
161
install_crate = false
170
162
command = " cargo"
171
- args = [" test" , " --workspace" ]
163
+ args = [" test" ]
164
+
165
+ [tasks .test-nightly ]
166
+ dependencies = [" update-rust-nightly" ]
167
+ toolchain = " nightly${RUST_NIGHTLY_VERSION_PREFIX}"
168
+ install_crate = false
169
+ command = " cargo"
170
+ args = [" test" ]
172
171
173
172
[tasks .update-rust-stable ]
174
173
command = " rustup"
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments