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:
26
.github/workflows/run-ci.yml
vendored
Normal file
26
.github/workflows/run-ci.yml
vendored
Normal 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
|
||||
Reference in New Issue
Block a user