Skip to content

Commit e6da732

Browse files
committed
compile the fat cli in tests instead of pre-commit
1 parent 6538717 commit e6da732

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

.github/workflows/tests.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,9 @@ jobs:
176176
cargo run --locked --package meta-cli -- --help
177177
cargo test --locked --package meta-cli
178178
179+
# check the fat CLI build
180+
cargo run --locked --package meta-cli --features typegate -- --help
181+
179182
test-docker:
180183
needs: changes
181184
if: ${{ needs.changes.outputs.typegate == 'true' }}
@@ -311,6 +314,9 @@ jobs:
311314
# without --tests, the --doc is causing a link error "syntax error in VERSION script"
312315
cargo test --locked --package typegraph_core --tests
313316
317+
# check the fat CLI build
318+
cargo run --locked --package meta-cli --features typegate -- --help
319+
314320
# from old test-meta-cli
315321
cargo run --locked --package meta-cli -- --help
316322
cargo test --locked --package meta-cli

.pre-commit-config.yaml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,6 @@ repos:
4444
- id: cargo-check
4545
args:
4646
- "--locked"
47-
- id: cargo-check
48-
args:
49-
- "--locked"
50-
- "--package=meta-cli"
51-
- "--features=typegate"
5247
- id: clippy
5348
args:
5449
- "--locked"

0 commit comments

Comments
 (0)