Skip to content

Commit a9d5e34

Browse files
committed
chore: linting fixed and coverage should work
1 parent 493ed59 commit a9d5e34

File tree

4 files changed

+6
-19
lines changed

4 files changed

+6
-19
lines changed

.github/workflows/coverage.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -46,16 +46,10 @@ jobs:
4646
PROPTEST_CASES: 10
4747
run: |
4848
source <(cargo llvm-cov show-env --export-prefix)
49-
# Only build madara crates
50-
cargo build --bin madara --profile dev \
51-
--package "mc-*" \
52-
--package "mp-*"
49+
cargo build --bin madara --profile dev
5350
export COVERAGE_BIN=$(realpath target/debug/madara)
5451
rm -f target/madara-* lcov.info
55-
# Only test madara crates
56-
cargo test --profile dev \
57-
--package "mc-*" \
58-
--package "mp-*"
52+
cargo test --profile dev --workspace --exclude=orchestrator --exclude=e2e-tests
5953
6054
- name: Generate coverage info
6155
run: |

.github/workflows/orchestrator-coverage.yml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -141,15 +141,9 @@ jobs:
141141
--lcov \
142142
--output-path lcov.info \
143143
--test-threads=1 \
144-
--package "orchestrator" \
145-
--package "da-client-interface" \
146-
--package "atlantic-service" \
147-
--package "sharp-service" \
148-
--package "prover-client-interface" \
149-
--package "gps-fact-checker" \
150-
--package "settlement-client-interface" \
151-
--package "utils" \
152-
--no-fail-fast
144+
--workspace \
145+
--exclude=madara \
146+
--exclude=e2e-tests
153147
154148
- name: Coveralls
155149
uses: coverallsapp/github-action@v2

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ members = [
4040
"orchestrator/crates/settlement-clients/settlement-client-interface",
4141
"orchestrator/crates/settlement-clients/ethereum",
4242
"orchestrator/crates/settlement-clients/starknet",
43-
"e2e-tests", # TODO: rename / merge with existing tests
43+
"e2e-tests", # TODO: rename / merge with existing tests
4444
]
4545
resolver = "2"
4646
# Everything except test-related packages, so that they are not compiled when doing `cargo build`.

orchestrator/crates/orchestrator/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,4 +111,3 @@ testing = []
111111
hyper = { version = "0.14", features = ["full"] }
112112
rstest = { workspace = true }
113113
httpmock = { version = "0.8.0-alpha.1", features = ["proxy", "remote"] }
114-

0 commit comments

Comments
 (0)