-
Notifications
You must be signed in to change notification settings - Fork 3
40 lines (33 loc) · 877 Bytes
/
ci.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
name: CI
on:
pull_request:
branches: [ "main" ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: "recursive"
- name: Set up JDK 11
uses: actions/setup-java@v2
with:
java-version: "11"
distribution: "adopt"
- name: Setup Gradle
uses: gradle/gradle-build-action@v3
- name: build images
run: make build_images_for_ci
- name: run test
run: |
make pull_images
cd integration_tests
./gradlew test --rerun-tasks --info --fail-fast
- uses: actions/upload-artifact@v2
if: ${{ success() }} || ${{ failure() }}
with:
name: logs
path: |
integration_tests/.logs
/tmp/io/tasks
integration_tests/app/build/reports