-
Notifications
You must be signed in to change notification settings - Fork 196
33 lines (33 loc) · 952 Bytes
/
test.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
name: Test
on:
push:
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
cache: 'gradle'
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 18
- name: Check formatting
run: |
npm ci
npm run check-fmt
- name: Build with Gradle
run: ./gradlew --info --stacktrace --no-daemon
- name: Run unit tests
run: ./gradlew test --info --stacktrace --no-daemon
- name: Run end to end tests
run: ./gradlew e2eTest --info --stacktrace --no-daemon
- name: Run integration tests
run: ./gradlew integrationTest --info --stacktrace --no-daemon