File tree Expand file tree Collapse file tree 1 file changed +13
-1
lines changed
Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change 2121 strategy :
2222 fail-fast : false
2323 matrix :
24- scala : [2.12.12, 2.13.6]
24+ # If you update the Scala 3 version, make sure to update the conditionals further down!
25+ scala : [2.12.12, 2.13.6, 3.0.2]
2526 java : ['1.8', '1.11']
2627 runs-on : ubuntu-latest
2728 steps :
5152 if [ -f ~/.sbt ]; then
5253 find ~/.sbt -name "*.lock" -delete
5354 fi
55+
56+ # coverage doesn't really work with Scala 3 yet so we only run it on Scala 2, which should be sufficient anyway
5457 - name : test
5558 run : ${{ format('./sbt ++{0} clean coverage test coverageReport', matrix.scala) }}
59+ if : matrix.scala != '3.0.2'
60+ - name : test
61+ run : ${{ format('./sbt "++{0} -v clean; ++{0} test"', matrix.scala) }}
62+ if : matrix.scala == '3.0.2'
63+
64+ # coverage doesn't really work with Scala 3 yet so we only run it on Scala 2, which should be sufficient anyway
5665 - name : coverage
5766 run : ${{ format('./sbt ++{0} coverageAggregate', matrix.scala) }}
67+ if : matrix.scala != '3.0.2'
68+ # coverage doesn't really work with Scala 3 yet so we only run it on Scala 2, which should be sufficient anyway
5869 - name : upload coverage
5970 uses : codecov/codecov-action@v2
71+ if : matrix.scala != '3.0.2'
You can’t perform that action at this time.
0 commit comments