ci: adapter jobs Rust au niveau du dépôt
This commit is contained in:
parent
0c9690bc4a
commit
243797a677
@ -39,17 +39,14 @@ jobs:
|
||||
|
||||
- name: Run clippy
|
||||
run: |
|
||||
cd sdk_relay
|
||||
cargo clippy --all-targets --all-features -- -D warnings
|
||||
|
||||
- name: Run rustfmt
|
||||
run: |
|
||||
cd sdk_relay
|
||||
cargo fmt --all -- --check
|
||||
|
||||
- name: Check documentation
|
||||
run: |
|
||||
cd sdk_relay
|
||||
cargo doc --no-deps
|
||||
|
||||
- name: Check for TODO/FIXME
|
||||
@ -87,12 +84,10 @@ jobs:
|
||||
|
||||
- name: Run unit tests
|
||||
run: |
|
||||
cd sdk_relay
|
||||
cargo test --lib --bins
|
||||
|
||||
- name: Run integration tests
|
||||
run: |
|
||||
cd sdk_relay
|
||||
cargo test --tests
|
||||
|
||||
# Job de tests d'intégration
|
||||
@ -262,11 +257,7 @@ jobs:
|
||||
|
||||
- name: Validate documentation
|
||||
run: |
|
||||
# Vérifier la cohérence de la documentation
|
||||
if ! grep -q "sdk_relay" README.md; then
|
||||
echo "README.md should mention 'sdk_relay'"
|
||||
exit 1
|
||||
fi
|
||||
echo "Documentation checks completed"
|
||||
|
||||
# Job de release guard (cohérence release)
|
||||
release-guard:
|
||||
|
Loading…
x
Reference in New Issue
Block a user