mirror of https://github.com/tasks/tasks
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
829 B
YAML
38 lines
829 B
YAML
name: Run tests
|
|
|
|
on:
|
|
push:
|
|
paths-ignore:
|
|
- CODE_OF_CONDUCT.md
|
|
- CONTRIBUTING.md
|
|
- README.md
|
|
- 'fastlane/**'
|
|
- .github/FUNDING.yml
|
|
pull_request:
|
|
paths-ignore:
|
|
- CODE_OF_CONDUCT.md
|
|
- CONTRIBUTING.md
|
|
- README.md
|
|
- 'fastlane/**'
|
|
- .github/FUNDING.yml
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: macos-latest
|
|
steps:
|
|
- name: checkout
|
|
uses: actions/checkout@v3
|
|
- name: Set up JDK 11
|
|
uses: actions/setup-java@v3
|
|
with:
|
|
distribution: 'temurin'
|
|
java-version: '11'
|
|
- name: run tests
|
|
uses: reactivecircus/android-emulator-runner@v2
|
|
with:
|
|
api-level: 29
|
|
script: ./gradlew -Pcoverage app:testGoogleplayDebugUnitTest app:connectedGoogleplayDebugAndroidTest
|