mirror of https://github.com/tasks/tasks
Add tests.yml
parent
1ffa1c4cc8
commit
cf484c9a40
@ -0,0 +1,22 @@
|
|||||||
|
name: Run tests
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ main ]
|
||||||
|
pull_request:
|
||||||
|
branches: [ main ]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
test:
|
||||||
|
runs-on: macos-latest
|
||||||
|
steps:
|
||||||
|
- name: checkout
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
- name: run tests
|
||||||
|
uses: reactivecircus/android-emulator-runner@v2
|
||||||
|
with:
|
||||||
|
api-level: 29
|
||||||
|
script: >
|
||||||
|
- ./gradlew :app:jacocoTestReportGoogleplayDebug
|
||||||
|
- ./gradlew -Pcoverage :app:createGoogleplayDebugAndroidTestCoverageReport
|
||||||
|
- bash <(curl -s https://codecov.io/bash)
|
||||||
Loading…
Reference in New Issue