Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test with Liberty 23.0.0.6 and latest ant/common snapshots #839

Merged
merged 1 commit into from
Jun 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 18 additions & 20 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ jobs:
matrix:
# test against latest update of each major Java version, as well as specific updates of LTS versions:
RUNTIME: [ol, wlp]
RUNTIME_VERSION: [22.0.0.12, 23.0.0.3]
RUNTIME_VERSION: [23.0.0.6, 23.0.0.3]
java: [17, 11, 8]
exclude:
- java: 8
RUNTIME_VERSION: 22.0.0.12
RUNTIME_VERSION: 23.0.0.3
- java: 17
RUNTIME_VERSION: 22.0.0.12
RUNTIME_VERSION: 23.0.0.3
name: ${{ matrix.RUNTIME }} ${{ matrix.RUNTIME_VERSION }}, Java ${{ matrix.java }}, Linux
steps:
# Checkout repos
Expand Down Expand Up @@ -65,11 +65,8 @@ jobs:
# Install dependencies
- name: Install ci.ant and ci.common
run: |
cd ./ci.ant
mvn clean install
cd ../ci.common
mvn clean install
cd ..
mvn -V clean install -f ci.ant --batch-mode --no-transfer-progress --errors -DtrimStackTrace=false
mvn -V clean install -f ci.common --batch-mode --no-transfer-progress --errors -DtrimStackTrace=false
# Run tests
- name: Run tests with Gradle on Ubuntu
run:
Expand All @@ -86,7 +83,7 @@ jobs:
- uses: actions/upload-artifact@v3
if: ${{ failure() }}
with:
name: buildReportsArtifact
name: buildReportsArtifactLinux
path: /buildReports
retention-days: 3

Expand All @@ -98,15 +95,15 @@ jobs:
matrix:
# test against latest update of each major Java version, as well as specific updates of LTS versions:
RUNTIME: [ol, wlp]
RUNTIME_VERSION: [22.0.0.12, 23.0.0.3]
RUNTIME_VERSION: [23.0.0.6, 23.0.0.3]
java: [17, 11, 8]
exclude:
- java: 8
RUNTIME_VERSION: 22.0.0.12
RUNTIME_VERSION: 23.0.0.3
- java: 8
RUNTIME: wlp
- java: 17
RUNTIME_VERSION: 22.0.0.12
RUNTIME_VERSION: 23.0.0.3
name: ${{ matrix.RUNTIME }} ${{ matrix.RUNTIME_VERSION }}, Java ${{ matrix.java }}, Windows
steps:
# Checkout repos
Expand Down Expand Up @@ -140,13 +137,14 @@ jobs:
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-
# Install dependencies
- name: Install ci.ant and ci.common
run: |
cd C:/ci.ant
mvn clean install
cd C:/ci.common
mvn clean install
# Install ci.ant
- name: Install ci.ant
working-directory: C:/ci.ant
run: mvn -V clean install --batch-mode --no-transfer-progress --errors -DtrimStackTrace=false
# Install ci.common
- name: Install ci.common
working-directory: C:/ci.common
run: mvn -V clean install --batch-mode --no-transfer-progress --errors -DtrimStackTrace=false
# Run tests
- name: Run tests with Gradle on Windows
working-directory: C:/ci.gradle
Expand All @@ -161,6 +159,6 @@ jobs:
- uses: actions/upload-artifact@v3
if: ${{ failure() }}
with:
name: buildReportsArtifact
name: buildReportsArtifactWindows
path: D:/buildReports
retention-days: 3
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ compileTestGroovy {
targetCompatibility = JavaVersion.VERSION_1_7
}

def libertyAntVersion = "1.9.12"
def libertyAntVersion = "1.9.13-SNAPSHOT"
def libertyCommonVersion = "1.8.27-SNAPSHOT"

dependencies {
Expand Down