Create test.yml

This commit is contained in:
Dimitris Zervas 2023-06-03 18:15:57 +03:00 committed by GitHub
parent 1f6e15e288
commit 33b73b0ba0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

24
.github/workflows/test.yml vendored Normal file
View File

@ -0,0 +1,24 @@
name: Rust
on:
push:
branches:
- main
pull_request:
branches:
- main
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