Skip to content

Commit

Permalink
no luck with java record tests under scala3
Browse files Browse the repository at this point in the history
  • Loading branch information
carueda committed Nov 4, 2021
1 parent 0f333e3 commit 46f2ac0
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/ci.yml
Expand Up @@ -27,12 +27,16 @@ jobs:
run: sbt "++${{ matrix.scala-version }} compile"

- name: Test
run: >
if [[ "${{ matrix.scala }}" =~ ^2\..* ]]; then
sbt coverage "++${{ matrix.scala-version }} test";
else
sbt "++${{ matrix.scala-version }} test";
fi
# due to issue with java record tests under scala3:
if: startsWith(matrix.scala, '2')
run: sbt coverage ++${{ matrix.scala-version }} test
# otherwise, only coverage restricted to scala2:
# run: >
# if [[ "${{ matrix.scala }}" =~ ^2\..* ]]; then
# sbt coverage "++${{ matrix.scala-version }} test";
# else
# sbt "++${{ matrix.scala-version }} test";
# fi

- name: Coveralls
if: startsWith(matrix.scala, '2')
Expand Down

0 comments on commit 46f2ac0

Please sign in to comment.