Skip to content

Commit

Permalink
Split api check and unit tests to separate gh action jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
mklkj committed Sep 5, 2024
1 parent 798fb9b commit 40cfd72
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,25 @@ jobs:
- name: Unit tests
run: |
./gradlew :library:testDebug --stacktrace
api-check:
name: Unit tests
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: fkirc/skip-duplicate-actions@master
- uses: actions/checkout@v3
- uses: gradle/wrapper-validation-action@v1
- uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: 17
- uses: actions/cache@v3
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: gradle-${{ runner.os }}-${{ hashFiles('**/*.gradle*') }}
- name: API changes check
run: |
./gradlew :library:apiCheck --stacktrace
Expand Down

0 comments on commit 40cfd72

Please sign in to comment.