Github actions running the tests travis runs usually

This commit is contained in:
Sebastian Thiel
2020-04-12 13:37:48 +08:00
parent ebbddb30aa
commit cd8e834553

21
.github/workflows/rust.yml vendored Normal file
View File

@@ -0,0 +1,21 @@
name: Rust
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Run tests
run: |
make test-gen
make gen-all-cli cargo-api ARGS=test
make cargo-api ARGS=doc
cargo test