-
Notifications
You must be signed in to change notification settings - Fork 78
38 lines (35 loc) · 913 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: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Java JDK
uses: actions/[email protected]
with:
java-version: 15.0.1
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Spring Test
run: ./gradlew test jacocoTestCoverageVerification
- name: Test install
working-directory: tests
run: npm ci
- name: API Test
working-directory: tests
run: npm run ci
- name: Web install
working-directory: web
run: npm ci
- name: Web test
working-directory: web
run: npm test
- name: Lint
working-directory: web
run: npm run lint
- name: E2E test
working-directory: web
run: npm run ci:e2e
env:
HEADLESS: true