93
93
- name : Install CapnProto
94
94
run : sudo apt-get install -y capnproto
95
95
- name : Build benchmarks with no features
96
- run : cargo bench --verbose --no-run --workspace --exclude hugr-llvm --no-default-features
96
+ run : cargo bench --verbose --no-run --no-default-features
97
97
- name : Build benchmarks with all features
98
- run : cargo bench --verbose --no-run --workspace --exclude hugr-llvm --all-features
98
+ run : cargo bench --verbose --no-run --all-features
99
99
100
100
# Run tests on Rust stable
101
101
tests-stable-no-features :
@@ -116,9 +116,9 @@ jobs:
116
116
- name : Install CapnProto
117
117
run : sudo apt-get install -y capnproto
118
118
- name : Build with no features
119
- run : cargo test --verbose --workspace --exclude hugr-llvm --no-default-features --no-run
119
+ run : cargo test --verbose --no-default-features --no-run
120
120
- name : Tests with no features
121
- run : cargo test --verbose --workspace --exclude hugr-llvm --no-default-features
121
+ run : cargo test --verbose --no-default-features
122
122
123
123
# Run tests on Rust stable
124
124
tests-stable-all-features :
@@ -139,9 +139,9 @@ jobs:
139
139
- name : Install CapnProto
140
140
run : sudo apt-get install -y capnproto
141
141
- name : Build with all features
142
- run : cargo test --verbose --workspace --exclude hugr-llvm --all-features --no-run
142
+ run : cargo test --verbose --all-features --no-run
143
143
- name : Tests with all features
144
- run : cargo test --verbose --workspace --exclude hugr-llvm --all-features
144
+ run : cargo test --verbose --all-features
145
145
- name : Build HUGR binary
146
146
run : cargo build -p hugr-cli
147
147
- name : Upload the binary to the artifacts
@@ -174,13 +174,13 @@ jobs:
174
174
- name : Install CapnProto
175
175
run : sudo apt-get install -y capnproto
176
176
- name : Build with no features
177
- run : cargo test --verbose --workspace --exclude hugr-llvm --no-default-features --no-run
177
+ run : cargo test --verbose --no-default-features --no-run
178
178
- name : Tests with no features
179
- run : cargo test --verbose --workspace --exclude hugr-llvm --no-default-features
179
+ run : cargo test --verbose --no-default-features
180
180
- name : Build with all features
181
- run : cargo test --verbose --workspace --exclude hugr-llvm --all-features --no-run
181
+ run : cargo test --verbose --all-features --no-run
182
182
- name : Tests with all features
183
- run : cargo test --verbose --workspace --exclude hugr-llvm --all-features
183
+ run : cargo test --verbose --all-features
184
184
185
185
# Ensure that serialized extensions match rust implementation
186
186
std-extensions :
@@ -229,8 +229,8 @@ jobs:
229
229
- name : Run tests with coverage instrumentation
230
230
run : |
231
231
cargo llvm-cov clean --workspace
232
- cargo llvm-cov --no-report --workspace --exclude hugr-llvm --no-default-features --doctests
233
- cargo llvm-cov --no-report --workspace --exclude hugr-llvm --all-features --doctests
232
+ cargo llvm-cov --no-report --no-default-features --doctests
233
+ cargo llvm-cov --no-report --all-features --doctests
234
234
- name : Generate coverage report
235
235
run : cargo llvm-cov --all-features report --codecov --output-path coverage.json
236
236
- name : Upload coverage to codecov.io
0 commit comments