Add github actions to the project

This commit is contained in:
Tom Forbes
2019-10-19 15:35:17 +01:00
committed by Martin Algesten
parent c307da1fc0
commit e693dec7a8

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

@@ -0,0 +1,21 @@
on: [push]
name: CI
jobs:
build_and_test:
name: Rust project
runs-on: ubuntu-latest
env:
RUST_BACKTRACE: "1"
steps:
- uses: actions/checkout@master
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- name: Test
uses: actions-rs/cargo@v1
with:
command: test