Browse Source

Run CI with java 17 (#1656)

* Run CI with java 17

* Bump surefire version

* Allow tests to donwload anything extra not covered by 'Resolving Dependencies'
pull/1659/head
Marvin Froeder 2 years ago committed by GitHub
parent
commit
a820b838bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 14
      .circleci/config.yml
  2. 2
      apt-test-generator/pom.xml

14
.circleci/config.yml

@ -41,7 +41,7 @@ commands: @@ -41,7 +41,7 @@ commands:
- run:
name: 'Resolving Dependencies'
command: |
mvn dependency:resolve-plugins go-offline:resolve-dependencies -DskipTests=true
mvn dependency:resolve-plugins go-offline:resolve-dependencies -DskipTests=true -B
verify-formatting:
steps:
- run:
@ -121,7 +121,7 @@ jobs: @@ -121,7 +121,7 @@ jobs:
- run:
name: 'Test'
command: |
mvn -o test
mvn -B test
- verify-formatting
android-test:
# These next lines define the Android machine image executor: https://circleci.com/docs/2.0/executor-types/
@ -191,8 +191,8 @@ workflows: @@ -191,8 +191,8 @@ workflows:
filters:
<<: *all-branches
- test:
jdk: '14-buster'
name: 'jdk 14'
jdk: '17-buster'
name: 'jdk 17'
filters:
<<: *all-branches
- test:
@ -212,8 +212,8 @@ workflows: @@ -212,8 +212,8 @@ workflows:
filters:
<<: *master-only
- test:
jdk: '14-buster'
name: 'jdk 14'
jdk: '17-buster'
name: 'jdk 17'
filters:
<<: *master-only
- deploy:
@ -222,7 +222,7 @@ workflows: @@ -222,7 +222,7 @@ workflows:
requires:
- 'jdk 8'
- 'jdk 11'
- 'jdk 14'
- 'jdk 17'
context: Sonatype
filters:
<<: *master-only

2
apt-test-generator/pom.xml

@ -187,7 +187,7 @@ @@ -187,7 +187,7 @@
</activation>
<properties>
<maven-surefire-plugin.version>3.0.0-M5</maven-surefire-plugin.version>
<maven-surefire-plugin.version>3.0.0-M7</maven-surefire-plugin.version>
<jvm.options>--add-opens jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED</jvm.options>
</properties>
</profile>

Loading…
Cancel
Save