Update perfolation to 1.2.11 #938
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |