Use github actions for testing

- Stripped down version from treadle
- commented out several sections
- delete travis test
- fix run-tests.yml
- Let's make this 3.
This commit is contained in:
chick
2021-07-01 10:55:18 -07:00
parent c8f3d343b9
commit 1d6486f957

26
.github/workflows/run-ci.yml vendored Normal file
View File

@@ -0,0 +1,26 @@
name: Test
on:
pull_request:
push:
branches:
- master
jobs:
test:
name: Unit Tests
runs-on: ubuntu-latest
strategy:
matrix:
scala: [ 2.12.14 ]
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Scala
uses: olafurpg/setup-scala@v10
- name: Cache
uses: coursier/cache-action@v5
- name: Get submodules
run: git submodule update --init
- name: Test
run: sbt test