-
-
Notifications
You must be signed in to change notification settings - Fork 4
26 lines (24 loc) · 707 Bytes
/
Copy pathbuild.yml
File metadata and controls
26 lines (24 loc) · 707 Bytes
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
name: "Build, lint, and test"
on: [pull_request, push]
env:
GRADLE_OPTS: "-Dorg.gradle.jvmargs=-Xmx4g -Dorg.gradle.daemon=false -Dkotlin.incremental=false"
jobs:
test:
name: Build
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Start emulator
run: scripts/start_emulator.sh
- name: Evaluate ktlint
run: ./gradlew ktlintCheck
- name: Run screenshot tests tests
run: ./gradlew debugExecuteScreenshotTests
- uses: actions/upload-artifact@v2
with:
name: reports
path: app/build/reports/