add standard CI

This commit is contained in:
Edward Shen 2021-07-09 20:11:43 -04:00
parent 5ab04a9e9c
commit 7b5738da8d
Signed by: edward
GPG key ID: 19182661E818369F

22
.github/workflows/build_and_test.yml vendored Normal file
View file

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