From a9a83aead49612768fb70d3607e33bf872317e46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Art=C5=ABras=20=C5=A0lajus?= Date: Wed, 4 Sep 2024 19:40:25 +0300 Subject: [PATCH] Only run coverage on JVM, as scoverage ScalaJS and Scala Native support is limited to Scala 2. --- .github/workflows/ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a51b400..168b34f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,7 +18,9 @@ jobs: with: java-version: "adopt@1.11" - name: Run tests - run: sbt coverage "++${{ matrix.scala }} test" + run: sbt "++${{ matrix.scala }} test" + - name: Run coverage (JVM only) + run: sbt coverage "++${{ matrix.scala }} root/test" - name: Upload coverage data to Coveralls run: sbt ++${{ matrix.scala }} coverageReport coveralls env: