add github workflow to run unittests

This commit is contained in:
Michael Sippel 2024-03-22 19:01:16 +01:00
parent f0ac6e6eb3
commit e50a788e82
Signed by: senvas
GPG Key ID: F96CF119C34B64A6
1 changed files with 22 additions and 0 deletions

22
.github/workflows/cargo-test.yml vendored Normal file
View File

@ -0,0 +1,22 @@
name: Rust
on:
push:
branches: [ "dev" ]
pull_request:
branches: [ "dev" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose