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

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