-
Notifications
You must be signed in to change notification settings - Fork 8.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
190 changed files
with
23,755 additions
and
773 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
name: "test-druid" | ||
|
||
on: | ||
push: | ||
branches: [ test*, "*.*.*" ] | ||
|
||
jobs: | ||
test-druid: | ||
name: "test-druid" | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
java: [ 8, 11, 17, 21 ] | ||
druid: [ | ||
1.2.19, | ||
#1.2.18, # Unit test triggered a bug in Druid, see the commit https://github.com/alibaba/druid/commit/6c493f852852fb287ed5fd31ee16c27ead0ea5cf | ||
#1.2.17, # Unit test triggered a bug in Druid, see the commit https://github.com/alibaba/druid/commit/6c493f852852fb287ed5fd31ee16c27ead0ea5cf | ||
1.2.16, | ||
1.2.15, | ||
1.2.14, | ||
1.2.13, | ||
1.2.12, | ||
1.2.11, | ||
1.2.10, | ||
1.2.9, | ||
1.2.8, | ||
1.2.7, | ||
1.2.6, | ||
1.2.5, | ||
1.2.4, | ||
1.2.3, | ||
1.2.2, | ||
1.2.1, | ||
1.2.0, | ||
|
||
# not support druid:1.1.x | ||
#1.1.24, | ||
#1.1.23, | ||
#1.1.22, | ||
#1.1.21, | ||
#1.1.20, | ||
] | ||
steps: | ||
# step 1 | ||
- name: "Checkout" | ||
uses: actions/checkout@v3 | ||
# step 2 | ||
- name: "Set up Java JDK" | ||
uses: actions/setup-java@v3.12.0 | ||
with: | ||
distribution: 'zulu' | ||
java-version: ${{ matrix.java }} | ||
# step 3 | ||
- name: "Print maven version" | ||
run: ./mvnw -version | ||
# step 4 | ||
- name: "Test with Maven" | ||
run: | | ||
if [ "${{ matrix.java }}" == "8" ]; then | ||
./mvnw -T 4C clean test -Ddruid.version=${{ matrix.druid }} -Dcheckstyle.skip=false -Dlicense.skip=false -e -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn; | ||
else | ||
./mvnw -T 4C clean test -Ddruid.version=${{ matrix.druid }} -Dcheckstyle.skip=true -Dlicense.skip=true -e -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn; | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
name: "test-os" | ||
|
||
on: | ||
push: | ||
branches: [ test*, "*.*.*" ] | ||
|
||
jobs: | ||
test-arm64: | ||
name: "test-arm64" | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
springboot: [ | ||
2.7.17 -Dspring-framework.version=5.3.30, | ||
2.6.15 -Dspring-framework.version=5.3.27, | ||
2.5.15 -Dspring-framework.version=5.3.27, | ||
2.4.13 -Dspring-framework.version=5.3.13, | ||
2.3.12.RELEASE -Dspring-framework.version=5.2.15.RELEASE, | ||
2.2.13.RELEASE -Dspring-framework.version=5.2.12.RELEASE, | ||
#2.1.18.RELEASE, | ||
#2.0.9.RELEASE, | ||
#1.5.22.RELEASE, | ||
#1.4.7.RELEASE, | ||
#1.3.8.RELEASE, | ||
#1.2.8.RELEASE, | ||
#1.1.12.RELEASE, | ||
#1.0.2.RELEASE | ||
] | ||
steps: | ||
# step 1 | ||
- name: "Checkout" | ||
uses: actions/checkout@v3 | ||
# step 2 | ||
- name: "Set up QEMU" | ||
id: qemu | ||
uses: docker/setup-qemu-action@v3 | ||
# step 3 | ||
- name: "Install 'arm64v8/ubuntu' OS" | ||
run: | | ||
docker run --rm -v ${{ github.workspace }}:/ws:rw --workdir=/ws \ | ||
arm64v8/ubuntu:20.04 \ | ||
bash -exc 'apt-get update -y && \ | ||
apt-get install maven -y' | ||
# step 4 | ||
- name: "Print maven version" | ||
run: ./mvnw -version | ||
# step 5 | ||
- name: "test-arm64" | ||
run: | | ||
./mvnw -T 4C clean test -Dspring-boot.version=${{ matrix.springboot }} -Dcheckstyle.skip=true -Dlicense.skip=true -e -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.