Merge pull request #12 from KrishAgarwal2811/master

feat: workflow to run tests on PRs and push to master
This commit is contained in:
Anas Elgarhy 2022-10-15 09:23:31 +02:00 committed by GitHub
commit b4b362c2bb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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