Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bring back Codecov #151

Merged
merged 9 commits into from
Dec 1, 2021
Merged
Prev Previous commit
Next Next commit
testing matrix tests
  • Loading branch information
JavierMonton committed Nov 30, 2021
commit caf167adc8e654b318d58e085be79fc297369436
18 changes: 5 additions & 13 deletions .github/workflows/ci-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,11 @@ env:

jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Scala
uses: olafurpg/setup-scala@v13
with:
java-version: "[email protected]"
- name: Build and Unit Tests
run: sbt -v -Dfile.encoding=UTF-8 +clean +test
coverage:
name: Code Coverage
name: Tests + Code Coverage
strategy:
matrix:
scala: [2.12.15, 2.13.7]
scala: [2.12.15, 2.13.7, 3.0.2]
scala-coverage: [2.12.15, 2.13.7]
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -32,6 +22,8 @@ jobs:
uses: olafurpg/setup-scala@v13
with:
java-version: "[email protected]"
- name: Tests
run: sbt ++${{ matrix.scala }} clean test
- name: Coverage for Scala 2 (until Scala 3 is available)
run: sbt ++${{ matrix.scala-coverage }} clean coverage test
- name: Coverage Report
Expand Down