This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user