Skip to content

Commit

Permalink
Disable code coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
zarthross committed Apr 2, 2024
1 parent 3522f20 commit f7fca1e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 32 deletions.
31 changes: 0 additions & 31 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -235,34 +235,3 @@ jobs:
with:
modules-ignore: rootjs_2.12 rootjs_2.13 rootjvm_2.12 rootjvm_2.13 rootnative_2.12 rootnative_2.13 example1_2.12 example1_2.13
configs-ignore: test scala-tool scala-doc-tool test-internal

coverage:
name: Generate coverage report
strategy:
matrix:
os: [ubuntu-latest]
scala: [2.12, 2.13]
java: [temurin@11]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout current branch (fast)
uses: actions/checkout@v4

- name: Setup Java (temurin@17)
id: setup-java-temurin-17
if: matrix.java == 'temurin@17'
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 17
cache: sbt

- name: sbt update
if: matrix.java == 'temurin@17' && steps.setup-java-temurin-17.outputs.cache-hit == 'false'
run: sbt +update

- run: sbt '++ ${{ matrix.scala }}' coverage golden/test coverageAggregate

- uses: codecov/codecov-action@v3
with:
flags: ${{matrix.scala}}
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ThisBuild / tlBaseVersion := "0.4"
ThisBuild / description := "Yet another Typesafe Config decoder"
ThisBuild / circeRootOfCodeCoverage := Some("golden")
ThisBuild / circeRootOfCodeCoverage := None
ThisBuild / startYear := Some(2016)

val scala212 = "2.12.19"
Expand Down

0 comments on commit f7fca1e

Please sign in to comment.