Skip to content

Update scala-library to 2.13.12 #1220

Update scala-library to 2.13.12

Update scala-library to 2.13.12 #1220

Workflow file for this run

name: ci-tests
on:
pull_request:
push:
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
jobs:
unit-test:
name: Build and Test
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Scala
uses: olafurpg/setup-scala@v14
with:
java-version: "[email protected]"
- name: Build and Unit Tests
run: sbt -v -Dfile.encoding=UTF-8 +clean +test
coverage:
name: Code Coverage
strategy:
matrix:
scala: [2.12.15, 2.13.12]
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Scala
uses: olafurpg/setup-scala@v14
with:
java-version: "[email protected]"
- name: Coverage for Scala 2 (until Scala 3 is available)
run: sbt ++${{ matrix.scala }} clean coverage test
- name: Coverage Report
run: sbt ++${{ matrix.scala }} coverageReport
- name: Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
verbose: false # optional (default = false)
flags: unittests