-
Notifications
You must be signed in to change notification settings - Fork 15
33 lines (33 loc) · 1.2 KB
/
tests.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: Tests
on: [push, pull_request]
jobs:
tests:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Cache .m2 repository
uses: actions/cache@v4
with:
path: ~/.m2/repository
key: maven-repository-${{ hashFiles('**/pom.xml') }}
save-always: true
- name: Cache Maven wrapper
uses: actions/cache@v4
with:
path: ~/.m2/wrapper
key: maven-wrapper-${{ hashFiles('**/mvnw') }}
save-always: true
- name: Set up Eclipse Temurin JDK 17
uses: actions/setup-java@v2
with:
java-version: '17'
distribution: 'temurin'
- name: Build and test Quarkus jdt component
run: cd quarkus.jdt.ext && ./mvnw -B -U clean verify && cd ..
- name: Build and test Quarkus language server component
run: cd quarkus.ls.ext/com.redhat.quarkus.ls && ./mvnw -B -U clean verify
- name: Build and test Qute jdt component
run: cd qute.jdt && ./mvnw -B -U clean verify && cd ..
- name: Build and test Qute language server component
run: cd qute.ls/com.redhat.qute.ls && ./mvnw -B -U clean verify