mirror of
https://github.com/mii443/prometheus-android-exporter.git
synced 2025-08-30 19:09:47 +00:00
ci: test
This commit is contained in:
@ -11,29 +11,26 @@ jobs:
|
|||||||
name: android/android-machine
|
name: android/android-machine
|
||||||
tag: '2023.04.1'
|
tag: '2023.04.1'
|
||||||
resource-class: large
|
resource-class: large
|
||||||
working_directory: /home/circleci/project/client
|
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
|
|
||||||
- run: pwd && ls
|
|
||||||
|
|
||||||
# lint
|
# lint
|
||||||
- android/restore-gradle-cache
|
- android/restore-gradle-cache
|
||||||
- run:
|
- run:
|
||||||
name: Run linter
|
name: Run linter
|
||||||
command: ./gradlew lintDebug
|
command: cd client && ./gradlew lintDebug
|
||||||
- android/save-gradle-cache
|
- android/save-gradle-cache
|
||||||
|
|
||||||
# unit tests
|
# unit tests
|
||||||
- run:
|
- run:
|
||||||
name: Unit tests
|
name: Unit tests
|
||||||
command: ./gradlew testDebugUnitTest
|
command: cd client && ./gradlew testDebugUnitTest
|
||||||
|
|
||||||
# build it
|
# build it
|
||||||
- android/restore-build-cache
|
- android/restore-build-cache
|
||||||
- run:
|
- run:
|
||||||
name: Build
|
name: Build
|
||||||
command: ./gradlew build
|
command: cd client && ./gradlew build
|
||||||
- android/save-build-cache
|
- android/save-build-cache
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user