Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Try to merge jobs that generate XML reports together
Browse files Browse the repository at this point in the history
bmarty committed Jul 27, 2022

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 62d3e57 commit d820222
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/quality.yml
Original file line number Diff line number Diff line change
@@ -32,7 +32,7 @@ jobs:
./gradlew knit
# Check the project: ktlint, detekt, lint
ktlint:
lint:
name: Android Linter
runs-on: ubuntu-latest
# Allow all jobs on main and develop. Just one per PR.
@@ -44,7 +44,13 @@ jobs:
- name: Run ktlint
run: |
./gradlew ktlintCheck --continue
- name: Run detekt
if: always()
run: |
./gradlew detekt $CI_GRADLE_ARG_PROPERTIES
- name: Run lint
# Not always, if ktlint or detekt fail, avoid running the long lint check.
run: |
./gradlew lintGplayRelease lintFdroidRelease --stacktrace $CI_GRADLE_ARG_PROPERTIES
- name: Upload reports
if: always()

0 comments on commit d820222

Please sign in to comment.