Create test.yml

This commit is contained in:
Igor Katson 2021-10-19 10:19:23 +01:00 committed by GitHub
parent a6ebe58798
commit 6aa59ff83c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

21
.github/workflows/test.yml vendored Normal file
View file

@ -0,0 +1,21 @@
name: Run tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: Swatinem/rust-cache@v1
- name: Run tests
run: cargo test