Skip to content

Commit

Permalink
Skip p2 repository module during EA builds and Java 15+ builds.
Browse files Browse the repository at this point in the history
Signed-off-by: Nikhil Nanivadekar <nikhil.nanivadekar@bnymellon.com>
  • Loading branch information
nikhilnanivadekar committed Oct 25, 2020
1 parent 32daf88 commit e39cfbc
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/earlyaccess-javadoc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest]
java-version: [16, 17]
java-version: [16]

runs-on: ${{ matrix.os }}

Expand All @@ -34,6 +34,6 @@ jobs:
- name: 'JDK Version'
run: java --version
- name: Javadoc
run: ./mvnw -Dsurefire.useFile=false -DskipTests -Denforcer.skip=true clean install javadoc:aggregate -pl '!unit-tests,!serialization-tests,!jcstress-tests,!junit-trait-runner,!unit-tests-java8,!test-coverage,!p2-repository' --no-transfer-progress
run: ./mvnw -Dsurefire.useFile=false -DskipTests -Denforcer.skip=true clean install javadoc:aggregate -pl '!unit-tests,!serialization-tests,!jcstress-tests,!junit-trait-runner,!unit-tests-java8,!test-coverage,!p2-repository,!org.eclipse.collections:org.eclipse.collections' --no-transfer-progress
env:
MAVEN_OPTS: "-Xmx2g"
4 changes: 2 additions & 2 deletions .github/workflows/earlyaccess-unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest]
java-version: [16, 17]
java-version: [16]

runs-on: ${{ matrix.os }}

Expand All @@ -34,6 +34,6 @@ jobs:
- name: 'JDK Version'
run: java --version
- name: Unit-Test
run: ./mvnw verify --no-transfer-progress
run: ./mvnw verify -pl '!p2-repository,!org.eclipse.collections:org.eclipse.collections' --no-transfer-progress
env:
MAVEN_OPTS: "-Xmx2g"
4 changes: 2 additions & 2 deletions .github/workflows/unit-no-p2.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This workflow will build a Java project with Maven
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven

name: Unit tests
name: Unit Tests No P2

on: [push, pull_request]

Expand All @@ -28,7 +28,7 @@ jobs:
with:
java-version: ${{ matrix.java-version }}
- name: Unit-Test
run: ./mvnw verify --no-transfer-progress
run: ./mvnw verify -pl '!p2-repository,!org.eclipse.collections:org.eclipse.collections' --no-transfer-progress
env:
MAVEN_OPTS: "-Xmx1g"

0 comments on commit e39cfbc

Please sign in to comment.