-
Notifications
You must be signed in to change notification settings - Fork 3
35 lines (29 loc) · 723 Bytes
/
ci.yml
File metadata and controls
35 lines (29 loc) · 723 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
26
27
28
29
30
31
32
33
34
35
name: CI
on:
push:
branches-ignore: gh-pages
pull_request:
branches-ignore: gh-pages
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: "recursive"
- name: Set up Java
uses: actions/setup-java@v1
with:
java-version: 1.21
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew assemble
- name: Run the tests
run: ./gradlew check
- name: Upload test report
uses: actions/upload-artifact@v4
with:
name: test_report
path: build/reports/tests/test
if: always()