Skip to content

Commit 29560f0

Browse files
committed
Move unit test static analysis and api check to a single job.
1 parent ae343fd commit 29560f0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
./gradlew assemble
4040
4141
checks:
42-
name: Checks (unit tests and static analysis)
42+
name: Checks (unit tests, static analysis and binary compatibility API check)
4343
runs-on: ubuntu-latest
4444
env:
4545
JAVA_TOOL_OPTIONS: -Xmx4g
@@ -60,7 +60,7 @@ jobs:
6060
path: ~/.gradle/caches
6161
key: ${{ runner.os }}-${{ github.job }}-${{ hashFiles('**/*.gradle*') }}-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }}-${{ hashFiles('**/buildSrc/**/*.kt') }}
6262
- run: |
63-
./gradlew check -PslimTests
63+
./gradlew test apiCheck detekt lintDebug -PslimTests
6464
6565
deploy-snapshot:
6666
name: Deploy snapshot

0 commit comments

Comments
 (0)