Skip to content

Commit

Permalink
Merge pull request #104 from carldea/master
Browse files Browse the repository at this point in the history
Using TCK Tested JDK builds of OpenJDK
  • Loading branch information
hazendaz committed Sep 2, 2021
2 parents ea0e79a + 67c6cf1 commit 3f0fd7c
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 12 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macOS-latest, windows-latest]
java: [8, 11, 16, 17-ea]
distribution: ['adopt']
java: [ 8, 11, 16, 17-ea]
distribution: ['zulu']
fail-fast: false
max-parallel: 4
name: Test JDK ${{ matrix.java }}, ${{ matrix.os }}

steps:
- uses: actions/checkout@v2
- name: Set up JDK
- name: Set up JDK ${{ matrix.java }} ${{ matrix.distribution }}
uses: actions/setup-java@v2
with:
java-version: ${{ matrix.java }}
Expand Down
11 changes: 8 additions & 3 deletions .github/workflows/coveralls.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,18 @@ jobs:
build:
if: github.repository_owner == 'mybatis'
runs-on: ubuntu-latest
strategy:
matrix:
os: [ubuntu-latest]
java: [8]
distribution: ['zulu']
steps:
- uses: actions/checkout@v2
- name: Set up JDK
- name: Set up JDK ${{ matrix.java }} ${{ matrix.distribution }}
uses: actions/setup-java@v2
with:
java-version: 8
distribution: adopt
java-version: ${{ matrix.java }}
distribution: ${{ matrix.distribution }}
- name: Report Coverage to Coveralls for Pull Requests
if: github.event_name == 'pull_request'
run: ./mvnw test jacoco:report coveralls:report -q -Dlicense.skip=true -DrepoToken=$GITHUB_TOKEN -DserviceName=github -DpullRequest=$PR_NUMBER
Expand Down
11 changes: 8 additions & 3 deletions .github/workflows/sonar.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,21 @@ jobs:
build:
if: github.repository_owner == 'mybatis'
runs-on: ubuntu-latest
strategy:
matrix:
os: [ubuntu-latest, macOS-latest, windows-latest]
java: [11]
distribution: ['zulu']
steps:
- uses: actions/checkout@v2
with:
# Disabling shallow clone is recommended for improving relevancy of reporting
fetch-depth: 0
- name: Set up JDK
- name: Set up JDK ${{ matrix.java }} ${{ matrix.distribution }}
uses: actions/setup-java@v2
with:
java-version: 11
distribution: adopt
java-version: ${{ matrix.java }}
distribution: ${{ matrix.distribution }}
- name: Analyze with SonarCloud
run: ./mvnw verify jacoco:report sonar:sonar -B -Dsonar.projectKey=mybatis_ehcache-cache -Dsonar.organization=mybatis -Dsonar.host.url=https://sonarcloud.io -Dsonar.login=$SONAR_TOKEN -Dlicense.skip=true
env:
Expand Down
11 changes: 8 additions & 3 deletions .github/workflows/sonatype.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,18 @@ jobs:
build:
if: github.repository_owner == 'mybatis' && ! contains(toJSON(github.event.head_commit.message), '[maven-release-plugin]')
runs-on: ubuntu-latest
strategy:
matrix:
os: [ubuntu-latest, macOS-latest, windows-latest]
java: [11]
distribution: ['zulu']
steps:
- uses: actions/checkout@v2
- name: Set up JDK
- name: Set up JDK ${{ matrix.java }} ${{ matrix.distribution }}
uses: actions/setup-java@v2
with:
java-version: 11
distribution: adopt
java-version: ${{ matrix.java }}
distribution: ${{ matrix.distribution }}
- name: Deploy to Sonatype
run: ./mvnw deploy -DskipTests -B --settings ./.mvn/settings.xml -Dlicense.skip=true
env:
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,4 @@
velocity.log
/bin
.mvn/wrapper/maven-wrapper.jar
.DS_Store

0 comments on commit 3f0fd7c

Please sign in to comment.