forked from alibaba/spring-cloud-alibaba
-
Notifications
You must be signed in to change notification settings - Fork 0
47 lines (43 loc) · 1.21 KB
/
integration-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
34
35
36
37
38
39
40
41
42
43
44
45
46
name: Integration Testing
on:
push:
branches:
- 2023.x
pull_request:
branches:
- 2023.x
jobs:
deploy-docker-image:
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- name: Check out the repo
uses: actions/checkout@v2
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
integration-testing:
name: Integration Testing
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 17
uses: actions/setup-java@v2
with:
java-version: '17'
distribution: 'adopt'
- name: Dependies Cache
uses: actions/cache@v2
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Compile & Checkstyle
run: mvn clean compile
- name: install dependencies
run: mvn clean install -U package -pl '!spring-cloud-alibaba-coverage' -DskipTests
- name: Testing
run: ./mvnw verify -B -Dmaven.test.skip=false
# run: mvn clean -Dit.enabled=true test