From 1d6486f9579dd497c515adca2119208e279e3bab Mon Sep 17 00:00:00 2001 From: chick Date: Thu, 1 Jul 2021 10:55:18 -0700 Subject: [PATCH] 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. --- .github/workflows/run-ci.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/run-ci.yml diff --git a/.github/workflows/run-ci.yml b/.github/workflows/run-ci.yml new file mode 100644 index 00000000..492f417a --- /dev/null +++ b/.github/workflows/run-ci.yml @@ -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