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

[ELYEE-52] Enable PR CI for the new 4.x branch. #39

Merged
merged 2 commits into from
Nov 25, 2024
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
31 changes: 31 additions & 0 deletions .github/workflows/pr-ci-maintenance.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Pull Request CI
on:
workflow_dispatch:
pull_request:
branches:
- 1.x
- 2.x

jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
java: ['11', '17', '21']
steps:
- uses: actions/checkout@v2
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java }}
- name: Cache Maven packages
uses: actions/cache@v2
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- name: Version Info
run: mvn -version
- name: Build with Maven
run: mvn -B verify --file pom.xml
14 changes: 2 additions & 12 deletions .github/workflows/pr-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,32 +3,22 @@ on:
workflow_dispatch:
pull_request:
branches:
- 1.x
- 2.x
- 3.x
- 4.x

jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
java: ['11', '17', '21']
java: ['21']
steps:
- uses: actions/checkout@v2
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java }}
# ELY-2204 - Temporarily preventing OidcTest from running on macOS since there
# are intermittent issues with starting up the Docker container.
#- if: matrix.os == 'macos-latest'
# name: Install docker
# run: |
# brew install docker docker-machine docker-compose
# brew services start docker-machine
# docker-machine create --driver virtualbox default
# docker --version
- name: Cache Maven packages
uses: actions/cache@v2
with:
Expand Down
Loading