forked from qiniu/android-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (36 loc) · 999 Bytes
/
ci-test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
jobs:
test-on-mac:
runs-on: self-hosted
steps:
- continue-on-error: true
name: Checkout repo
uses: actions/checkout@v2
with:
ref: ${{ github.ref }}
- continue-on-error: true
name: Setup Java Version
uses: actions/setup-java@v2
with:
cache: gradle
distribution: temurin
java-version: 11
- continue-on-error: true
name: Run Cases
uses: reactivecircus/android-emulator-runner@v2
with:
api-level: 22
arch: x86_64
profile: Nexus 6
script: './gradlew connectedCheck
./gradlew build
./gradlew :library:createDebugAndroidTestCoverageReport --info --stacktrace
./gradlew connectedAndroidTest --info --stacktrace
'
- continue-on-error: true
name: Upload coverage.txt
run: 'bash <(curl -s https://codecov.io/bash)
'
name: Run Test Cases
on:
repository_dispatch:
types: trigger-ga___ci-test.yml