From e4ffa97484eb3cc90a2be9d6600b6d65dc3deb11 Mon Sep 17 00:00:00 2001 From: Daniele Riccardelli Date: Wed, 30 Sep 2020 09:45:31 +0200 Subject: [PATCH] set up actions which build, test and run coverage --- .github/workflows/scala.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/scala.yml diff --git a/.github/workflows/scala.yml b/.github/workflows/scala.yml new file mode 100644 index 0000000..6d0ec29 --- /dev/null +++ b/.github/workflows/scala.yml @@ -0,0 +1,23 @@ +name: Scala CI + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +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 + run: sbt -Dkara.isSnapshot=true coverage test scripted coverageAggregate coverageReport + - name: Publish coverage report + uses: codecov/codecov-action@v1.0.13