Files
USB-AIO/.gitea/workflows/tests.yml
Denis Stoecklmeier 81f06cf6b4
Some checks failed
Tests / test (push) Has been cancelled
USB-AIO für automatische Geräteprüfung
2026-10-14 20:14:36 +02:00

27 lines
772 B
YAML

name: Tests
on:
push:
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Systempakete installieren
run: |
sudo apt-get update
sudo apt-get install -y pkg-config libx11-dev libxkbcommon-dev libwayland-dev libgl1-mesa-dev
- name: Rust installieren
uses: dtolnay/rust-toolchain@stable
- name: Rust testen
run: |
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'
bash tests/smoke.sh