File tree Expand file tree Collapse file tree 1 file changed +21
-31
lines changed
Expand file tree Collapse file tree 1 file changed +21
-31
lines changed Original file line number Diff line number Diff line change 1- name : Tests
2- on : pull_request
3- jobs :
4- test :
5- runs-on : ubuntu-latest
6- steps :
7- - name : Checkout
8- 9-
10- - name : Set up JDK 11
11- uses : actions/setup-java@v2
12- with :
13- distribution : ' temurin'
14- java-version : ' 11'
1+ name : " Tests"
2+ on :
3+ pull_request :
4+ workflow_dispatch :
155
16- # # Build all our Build Types at once ##
17- - name : Build all artifacts
18- id : buildAllApks
19- 20- with :
21- gradle-version : current
22- wrapper-cache-enabled : false
23- dependencies-cache-enabled : false
24- configuration-cache-enabled : false
25- arguments : assembleRelease
6+ concurrency :
7+ group : ${{ github.workflow }}-${{ github.ref }}
8+ cancel-in-progress : true
269
27- - name : Run checks
28- if : success() || failure()
29- run : ./gradlew check
30-
31- - name : Run Detekt
32- if : success() || failure()
33- run : ./gradlew detekt
10+ jobs :
11+ tests :
12+ uses :
Telefonica/android-shared-workflows/.github/workflows/[email protected] 13+ with :
14+ emulators-number : 0
15+ assemble-tasks : ' assembleRelease'
16+ check-tasks : ' check detekt'
17+ android-tests-tasks : ' '
18+ artifacts-paths : |
19+ build/reports/detekt/detekt-report.html
20+ artifacts-paths-to-compress : |
21+ unit-tests-report=app/build/reports/tests/testReleaseUnitTest
22+ detekt-reports=build/reports/detekt
23+ secrets : inherit
You can’t perform that action at this time.
0 commit comments