Skip to content

Update sbt-scoverage to 2.1.0 #497

Update sbt-scoverage to 2.1.0

Update sbt-scoverage to 2.1.0 #497

Workflow file for this run

name: Build and Test
on:
push:
branches: [ master, v1 ]
pull_request:
types: [ synchronize, opened, reopened ]
jobs:
test:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, 'ci skip')"
steps:
- uses: actions/checkout@v2
- name: Cache Coursier
uses: actions/cache@v1
with:
path: ~/.cache/coursier
key: ${{ runner.os }}-sbt-cache-${{ hashFiles('**/build.sbt') }}
- name: Cache Sbt
uses: actions/cache@v1
with:
path: ~/.sbt
key: ${{ runner.os }}-sbt-${{ hashFiles('**/build.sbt') }}
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: "2.13 Test"
run: |
sbt "++ 2.13.8; coverage; test; coverageReport"
bash <(curl -s https://codecov.io/bash)
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
- name: "Test All"
run: sbt "+test"