Skip to content

Commit

Permalink
ci: fix ci configuration for coverage, scaladoc updated location
Browse files Browse the repository at this point in the history
  • Loading branch information
cake-lier committed Jun 8, 2023
1 parent 3e1f17d commit 67154bf
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,4 +84,4 @@ jobs:
- name: Publish scaladoc on GitHub Pages
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: target/scala-3.3.0/api
folder: target/api
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,15 @@ jobs:
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
directory: target/scala-3.3.0/scoverage-report
directory: target/scoverage-report
fail_ci_if_error: true
flags: unittests
name: codecov-umbrella
verbose: true
- name: SonarCloud scan fixed
uses: pervasive-cats/sonarcloud-scoverage-fix@v1.0.1
with:
scoverageReport: target/scala-3.3.0/scoverage-report/scoverage.xml
scoverageReport: target/scoverage-report/scoverage.xml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
2 changes: 1 addition & 1 deletion sonar-project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ sonar.organization=cake-lier
sonar.projectName=scala-library-template
sonar.projectVersion=0.0.0
sonar.scala.version=3.2
sonar.scala.coverage.reportPaths=target/scala-3.3.0/scoverage-report/scoverage.xml
sonar.scala.coverage.reportPaths=target/scoverage-report/scoverage.xml
sonar.sources=src/main/scala
sonar.tests=src/test/scala
sonar.sourceEncoding=UTF-8

0 comments on commit 67154bf

Please sign in to comment.