Skip to content

Commit

Permalink
fix(ci): Use Kover command
Browse files Browse the repository at this point in the history
  • Loading branch information
Distractic committed Jun 16, 2024
1 parent 39bf94e commit 5053df6
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 3 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/check-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,17 @@ jobs:
with:
jdk: 17

- name: Check code style
uses: gradle/[email protected]
env:
DETEKT_IGNORE_FAILURES: true
with:
arguments: detekt

- name: Build
uses: gradle/[email protected]
with:
arguments: build -x test
arguments: assemble

- name: Test
uses: nick-fields/retry@v2
Expand Down
16 changes: 14 additions & 2 deletions .github/workflows/sonar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,19 +24,31 @@ jobs:
with:
jdk: 17

- name: Check code style
uses: gradle/[email protected]
env:
DETEKT_IGNORE_FAILURES: true
with:
arguments: detekt

- name: Build
uses: gradle/[email protected]
env:
DETEKT_IGNORE_FAILURES: true
with:
arguments: build detekt -x test
arguments: assemble

- name: Test
uses: nick-fields/retry@v2
with:
timeout_minutes: 10
max_attempts: 10
command: ./gradlew test jacocoTestReport
command: ./gradlew test

- name: Generate test report
uses: gradle/[email protected]
with:
arguments: koverXmlReport

- name: SonarCloud Scan
uses: SonarSource/sonarcloud-github-action@master
Expand Down

0 comments on commit 5053df6

Please sign in to comment.