File tree Expand file tree Collapse file tree 4 files changed +6
-19
lines changed
orchestrator/crates/orchestrator Expand file tree Collapse file tree 4 files changed +6
-19
lines changed Original file line number Diff line number Diff 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 : |
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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]
4545resolver = " 2"
4646# Everything except test-related packages, so that they are not compiled when doing `cargo build`.
Original file line number Diff line number Diff line change @@ -111,4 +111,3 @@ testing = []
111111hyper = { version = " 0.14" , features = [" full" ] }
112112rstest = { workspace = true }
113113httpmock = { version = " 0.8.0-alpha.1" , features = [" proxy" , " remote" ] }
114-
You can’t perform that action at this time.
0 commit comments