feat: workflow to run tests on PRs and push to master

This commit is contained in:
Krish 2022-10-15 06:54:04 +00:00
parent 666869ae44
commit 71d8b18c8c

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

@ -0,0 +1,20 @@
name: test
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build
run: cargo build
- name: Run tests
run: cargo test