update circleci
This commit is contained in:
parent
4017ea2bc7
commit
4f2adcfcae
1 changed files with 15 additions and 7 deletions
|
@ -5,7 +5,7 @@ version: 2.1
|
||||||
# Orbs are reusable packages of CircleCI configuration that you may share across projects, enabling you to create encapsulated, parameterized commands, jobs, and executors that can be used across multiple projects.
|
# Orbs are reusable packages of CircleCI configuration that you may share across projects, enabling you to create encapsulated, parameterized commands, jobs, and executors that can be used across multiple projects.
|
||||||
orbs:
|
orbs:
|
||||||
android: circleci/android@2.3.0
|
android: circleci/android@2.3.0
|
||||||
codecov: codecov/codecov@3.2.4
|
codecov: codecov/codecov@3.3.0
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
# Below is the definition of your job to build and test your app, you can rename and customize it as you want.
|
# Below is the definition of your job to build and test your app, you can rename and customize it as you want.
|
||||||
|
@ -14,7 +14,7 @@ jobs:
|
||||||
executor:
|
executor:
|
||||||
name: android/android-machine
|
name: android/android-machine
|
||||||
resource-class: large
|
resource-class: large
|
||||||
tag: 2023.07.1
|
tag: 2023.10.1
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
|
@ -34,11 +34,19 @@ jobs:
|
||||||
- android/run-tests:
|
- android/run-tests:
|
||||||
test-command: ./gradlew --stacktrace jacocoAllDebugReport
|
test-command: ./gradlew --stacktrace jacocoAllDebugReport
|
||||||
|
|
||||||
# And finally run the release build
|
- run:
|
||||||
# - run:
|
name: Save test results
|
||||||
# name: Assemble release build
|
command: |
|
||||||
# command: |
|
mkdir -p ~/test-results/junit/
|
||||||
# ./gradlew assembleRelease
|
find . -type f -regex ".*/build/outputs/androidTest-results/.*xml" -exec cp {} ~/test-results/junit/ \;
|
||||||
|
when: always
|
||||||
|
|
||||||
|
- store_test_results:
|
||||||
|
path: ~/test-results
|
||||||
|
|
||||||
|
- store_artifacts:
|
||||||
|
path: ~/test-results/junit
|
||||||
|
|
||||||
- codecov/upload:
|
- codecov/upload:
|
||||||
file: './build/reports/jacoco/jacocoAllDebugReport/jacocoAllDebugReport.xml'
|
file: './build/reports/jacoco/jacocoAllDebugReport/jacocoAllDebugReport.xml'
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue