Skip to content

Commit

Permalink
Create new pipeline at Java 11 to submit to Sonarcloud
Browse files Browse the repository at this point in the history
  • Loading branch information
danfowler committed Jul 17, 2023
1 parent 57baeb8 commit ca7f06f
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,3 @@ jobs:

- name: Build with Gradle
run: ./gradlew test
- name: Send test coverage
run: ./gradlew test jacocoTestReport sonarqube
19 changes: 19 additions & 0 deletions .github/workflows/code-coverage.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# This workflow will build a Java project with Gradle
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle

name: Push Test Coverage to SonarCloud

on:
push:

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v2
with:
java-version: 11
- run: chmod +x gradlew
- run: ./gradlew test
- run: ./gradlew test jacocoTestReport sonarqube

0 comments on commit ca7f06f

Please sign in to comment.