ci: adapter jobs Rust au niveau du dépôt

This commit is contained in:
Your Name 2025-08-27 12:06:42 +02:00
parent f0c7c26f3c
commit 5084395c1e

View File

@ -39,17 +39,14 @@ jobs:
- name: Run clippy - name: Run clippy
run: | run: |
cd sdk_relay
cargo clippy --all-targets --all-features -- -D warnings cargo clippy --all-targets --all-features -- -D warnings
- name: Run rustfmt - name: Run rustfmt
run: | run: |
cd sdk_relay
cargo fmt --all -- --check cargo fmt --all -- --check
- name: Check documentation - name: Check documentation
run: | run: |
cd sdk_relay
cargo doc --no-deps cargo doc --no-deps
- name: Check for TODO/FIXME - name: Check for TODO/FIXME
@ -87,12 +84,10 @@ jobs:
- name: Run unit tests - name: Run unit tests
run: | run: |
cd sdk_relay
cargo test --lib --bins cargo test --lib --bins
- name: Run integration tests - name: Run integration tests
run: | run: |
cd sdk_relay
cargo test --tests cargo test --tests
# Job de tests d'intégration # Job de tests d'intégration
@ -262,11 +257,7 @@ jobs:
- name: Validate documentation - name: Validate documentation
run: | run: |
# Vérifier la cohérence de la documentation echo "Documentation checks completed"
if ! grep -q "sdk_relay" README.md; then
echo "README.md should mention 'sdk_relay'"
exit 1
fi
# Job de release guard (cohérence release) # Job de release guard (cohérence release)
release-guard: release-guard: