-
Notifications
You must be signed in to change notification settings - Fork 494
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Split docker tests * reset settings.gradle * reset some gradles and ymls * try optimize yamls * removed some yaml comments * restored job versions from to * moved container test to extended-it
- Loading branch information
Showing
40 changed files
with
218 additions
and
164 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
name: "Setups cache for Gradle" | ||
description: "Setups cache for Gradle" | ||
|
||
runs: | ||
using: "composite" | ||
steps: | ||
- uses: actions/cache@v2 | ||
with: | ||
path: | | ||
~/.gradle/caches | ||
~/.gradle/wrapper | ||
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
name: "Setups JDK" | ||
description: "Setups JDK" | ||
|
||
runs: | ||
using: "composite" | ||
steps: | ||
- name: Set up JDK 17 | ||
uses: actions/setup-java@v2 | ||
with: | ||
java-version: '17.0.8' | ||
distribution: 'temurin' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: "Test gradle project" | ||
description: "Test gradle project" | ||
|
||
inputs: | ||
project-name: | ||
description: "Name of gradle project to test" | ||
required: true | ||
|
||
runs: | ||
using: "composite" | ||
steps: | ||
- uses: ./.github/actions/setup-gradle-cache | ||
- name: Run compile tests | ||
shell: bash | ||
run: ./gradlew :${{inputs.project-name}}:compileJava :${{inputs.project-name}}:compileTestJava | ||
- name: Run tests | ||
shell: bash | ||
run: ./gradlew :${{inputs.project-name}}:check --parallel | ||
- name: Archive test results | ||
uses: actions/upload-artifact@v2 | ||
if: always() | ||
with: | ||
name: ${{inputs.project-name}}-test-results | ||
path: | | ||
${{inputs.project-name}}/build/reports/tests/test/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
plugins { | ||
id 'java' | ||
id 'com.github.johnrengelman.shadow' | ||
id 'maven-publish' | ||
id 'antlr' | ||
id "org.jetbrains.kotlin.jvm" version "1.6.0" | ||
id "com.diffplug.spotless" version "6.7.2" | ||
} | ||
|
||
description = 'APOC :: Apoc Extended Integration Tests Module' | ||
|
||
test { | ||
maxParallelForks = 1 | ||
} | ||
|
||
dependencies { | ||
apt project(':processor') | ||
apt group: 'org.neo4j', name: 'neo4j', version: neo4jVersionEffective // mandatory to run @ServiceProvider based META-INF code generation | ||
|
||
def withoutJacksons = { | ||
exclude group: 'com.fasterxml.jackson.core', module: 'jackson-annotations' | ||
exclude group: 'com.fasterxml.jackson.core', module: 'jackson-databind' | ||
} | ||
def withoutServers = { | ||
exclude group: 'org.eclipse.jetty' | ||
exclude group: 'org.eclipse.jetty.aggregate' | ||
exclude group: 'org.apache.hive', module: 'hive-service' | ||
} | ||
|
||
implementation project(":extended") | ||
|
||
testImplementation group: 'us.fatehi', name: 'schemacrawler-mysql', version: '16.20.8' | ||
testImplementation group: 'org.postgresql', name: 'postgresql', version: '42.1.4' | ||
|
||
testImplementation project(':core') | ||
testImplementation project(':test-utils') | ||
testImplementation project(':common') | ||
testImplementation project(':extended') | ||
testImplementation project(':core').sourceSets.test.output | ||
compileOnly project(':extended').sourceSets.main.allJava | ||
testImplementation project(':extended').sourceSets.test.output | ||
testImplementation files(project(':extended').sourceSets.test.output) | ||
|
||
testImplementation group: 'com.amazonaws', name: 'aws-java-sdk-s3', version: '1.12.425' | ||
testImplementation group: 'org.xmlunit', name: 'xmlunit-core', version: '2.9.1' | ||
testImplementation group: 'com.couchbase.client', name: 'java-client', version: '3.3.0', withoutJacksons | ||
testImplementation group: 'io.lettuce', name: 'lettuce-core', version: '6.1.1.RELEASE' | ||
testImplementation group: 'org.mongodb', name: 'mongodb-driver-sync', version: '4.11.1', { | ||
exclude group: 'io.netty' | ||
} | ||
testImplementation group: 'org.apache.parquet', name: 'parquet-hadoop', version: '1.13.1', withoutServers | ||
|
||
configurations.all { | ||
exclude group: 'org.slf4j', module: 'slf4j-nop' | ||
exclude group: 'ch.qos.logback', module: 'logback-classic' | ||
} | ||
} | ||
|
||
java { | ||
sourceCompatibility = JavaVersion.VERSION_17 | ||
targetCompatibility = JavaVersion.VERSION_17 | ||
} |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
.../test/java/apoc/es/ElasticSearchTest.java → .../test/java/apoc/es/ElasticSearchTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...ded/src/test/java/apoc/ApocSplitTest.java → ...java/apoc/neo4j/docker/ApocSplitTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.