-
Notifications
You must be signed in to change notification settings - Fork 6
38 lines (36 loc) · 897 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
name: CI
on:
pull_request:
branches:
- master
push:
branches:
- master
- refs/tags/*
tags:
- '*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Cache
uses: actions/cache@v4
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
restore-keys: ${{ runner.os }}-gradle-
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 17
- name: Run checks
run: ./gradlew check
- name: Run integration tests
run: ./gradlew integration
- name: Upload build artifacts
uses: actions/upload-artifact@v4
with:
name: integration-tests-results
path: build/reports/tests/integration