-
Notifications
You must be signed in to change notification settings - Fork 37
44 lines (36 loc) · 1.03 KB
/
integration-test.yaml
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
name: integration-test
on:
push:
branches:
- main
pull_request:
env:
GRADLE_OPTS: "-Dorg.gradle.jvmargs=-Xmx6g -Dorg.gradle.daemon=false -Dkotlin.incremental=false"
jobs:
test:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- uses: actions/[email protected]
with:
distribution: 'zulu'
java-version: 19
- name: Gradle cache
uses: gradle/gradle-build-action@v2
- name: integration test
id: integration-test
run: |
cd include-build
./gradlew roborazzi-gradle-plugin:check --stacktrace
- uses: actions/upload-artifact@v3
if: ${{ always() }}
with:
name: test-reports
path: include-build/roborazzi-gradle-plugin/build/reports
retention-days: 30
- uses: actions/upload-artifact@v3
if: ${{ always() }}
with:
name: test-test-results
path: include-build/roborazzi-gradle-plugin/build/test-results
retention-days: 30