add github cargo test
This commit is contained in:
20
.github/workflows/cargo-test.yml
vendored
Normal file
20
.github/workflows/cargo-test.yml
vendored
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
name: Cargo Test
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- devel
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- devel
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout code
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: Run Tests
|
||||||
|
run: cargo test -- --nocapture
|
||||||
Reference in New Issue
Block a user