Skip to content

Update perfolation to 1.2.11 #938

Update perfolation to 1.2.11

Update perfolation to 1.2.11 #938

Workflow file for this run

name: Scala CI
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
test:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
java: ['adopt:1.8.0', 'adopt:11', 'openjdk:17']
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: coursier/cache-action@v6
- uses: coursier/setup-action@v1
with:
jvm: ${{ matrix.java }}
- name: Run tests
shell: bash
run: |
JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF8 ONLY_SCALA_2=true sbt coverage +test docs/mdoc
JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF8 ONLY_SCALA_3=true sbt +test docs/mdoc
sbt coverageReport coverageAggregate
- uses: codecov/codecov-action@v2
if: matrix.os != 'windows-latest' #doesn't work properly on Windows
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./target/scala-2.13/scoverage-report/scoverage.xml
flags: unittests
yml: ./.codecov.yml