From 00bd69aa194759e6cda5596520b005e3b2b38b11 Mon Sep 17 00:00:00 2001 From: David An Date: Mon, 23 Nov 2020 10:37:30 -0500 Subject: [PATCH] first attempt: use gh actions for unit tests --- .github/workflows/unittest.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/unittest.yml diff --git a/.github/workflows/unittest.yml b/.github/workflows/unittest.yml new file mode 100644 index 000000000..f34e61e21 --- /dev/null +++ b/.github/workflows/unittest.yml @@ -0,0 +1,30 @@ +name: Scala CI + +on: + push: + branches: [ develop ] + pull_request: + branches: [ develop ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - name: Set up JDK 1.8 + uses: actions/setup-java@v1 + with: + java-version: 1.8 + - name: Run tests + env: + AGORA_URL_ROOT: http://localhost:8989 + RAWLS_URL_ROOT: http://localhost:8990 + THURLOE_URL_ROOT: http://localhost:8991 + FIRE_CLOUD_ID: 123 + run: sbt coverage test coverageReport + - name: Coveralls + run: sbt coveralls + +