Files
SmartMount/.gitea/workflows/unit-tests.yaml
T
DragonSlayer_14andClaude Sonnet 5 cd290f7f5b Chore: Fügt CI/Tooling-Vorlagen aus dem persönlichen Rust-Projekt-Template hinzu
Ersetzt die alten, projektspezifischen Metadaten (Lizenzjahr/-inhaber,
.gitignore) durch die Standardvorlage: Gitea-Workflows für CI/Security/
Renovate, Qodana-Konfiguration, Packaging-Skripte sowie IDE-/Cargo-
Registry-Einstellungen.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FZ3VzCWgbQRMyFEEKPvnZz
2026-09-15 00:49:57 +02:00

39 lines
810 B
YAML

name: Unit-Tests
on:
pull_request:
types:
- opened
- synchronize
- reopened
branches:
- testing
jobs:
test:
name: Unit-Tests
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v7
- name: Install Rust Toolchain
uses: actions-rust-lang/setup-rust-toolchain@v2
with:
toolchain: stable
cache: false
- name: Cache Cargo-Abhängigkeiten & Build-Artefakte
uses: actions/cache@v6
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: cargo-${{ runner.os }}-${{ hashFiles('Cargo.lock') }}
restore-keys: |
cargo-${{ runner.os }}-
- name: Run Tests
run: cargo test