Qualitätsprüfungen und Fehlerpfade härten
Some checks failed
Tests / test (push) Has been cancelled

This commit is contained in:
2026-10-15 10:05:48 +02:00
parent c0498b6935
commit 9dc37d1ece
12 changed files with 2383 additions and 517 deletions

View File

@@ -15,12 +15,21 @@ jobs:
sudo apt-get install -y pkg-config libx11-dev libxkbcommon-dev libwayland-dev libgl1-mesa-dev
- name: Rust installieren
uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt, clippy
- name: Rust testen
run: |
cargo fmt --check --manifest-path scanner/Cargo.toml
cargo fmt --check --manifest-path controller/Cargo.toml
cargo fmt --check --manifest-path gui/Cargo.toml
cargo clippy --locked --manifest-path scanner/Cargo.toml --all-targets -- -D warnings
cargo clippy --locked --manifest-path controller/Cargo.toml --all-targets -- -D warnings
cargo clippy --locked --manifest-path gui/Cargo.toml --all-targets -- -D warnings
cargo test --locked --manifest-path scanner/Cargo.toml
cargo test --locked --manifest-path controller/Cargo.toml
cargo test --locked --manifest-path gui/Cargo.toml
- name: Python und Rauchtests
run: |
python3 -m unittest discover -s tests -p 'test_*.py'
python3 -W error -m unittest discover -s tests -p 'test_*.py'
bash -n scripts/*.sh live/*.sh tests/*.sh
bash tests/smoke.sh