forked from robolectric/robolectric
-
Notifications
You must be signed in to change notification settings - Fork 0
47 lines (37 loc) · 1.03 KB
/
graphics_tests.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
42
43
44
45
46
name: Graphics Tests
on:
push:
branches: [ master, 'robolectric-*.x' ]
paths-ignore:
- '**.md'
pull_request:
branches: [ master, google ]
paths-ignore:
- '**.md'
permissions:
contents: read
jobs:
graphics_tests:
runs-on: self-hosted
steps:
- uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: 11
- uses: gradle/gradle-build-action@v2
- name: Run unit tests
run: |
SKIP_ERRORPRONE=true SKIP_JAVADOC=true ./gradlew :integration_tests:nativegraphics:testDebugUnitTest \
--info --stacktrace --continue \
--parallel \
--no-watch-fs \
-Drobolectric.alwaysIncludeVariantMarkersInTestName=true \
-Dorg.gradle.workers.max=2
- name: Upload Test Results
uses: actions/upload-artifact@v3
if: always()
with:
name: test_results
path: '**/build/test-results/**/TEST-*.xml'