将prometheus依赖迁移回dependencies中。 #175
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
name: "test-druid" | |
on: | |
push: | |
branches: [ test*, "*.*.*" ] | |
jobs: | |
test-druid: | |
name: "test-druid" | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
druid: [ | |
1.2.20, | |
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@v4.1.1 | |
# step 2 | |
- name: "Set up Java JDK" | |
uses: actions/setup-java@v4.1.0 | |
with: | |
distribution: 'zulu' | |
java-version: 8 | |
# step 3 | |
- name: "Print maven version" | |
run: ./mvnw -version | |
# step 4 | |
- name: "Test with Maven and Druid ${{ matrix.druid }}" | |
run: | | |
./mvnw -T 4C clean test \ | |
-Ddruid.version=${{ matrix.druid }} \ | |
-Dmaven.git-commit-id.skip=true \ | |
-e -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn; |