Skip to content

add Neo4J uniqueness tests #97

add Neo4J uniqueness tests

add Neo4J uniqueness tests #97

Workflow file for this run

name: Run tests
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
lfs: true
- name: Set up JDK
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
cache: maven
- name: install without tests
run: mvn -B install -DskipTests
- name: Build with Maven
run: mvn -B test
# Run benchmarks with GitHub Actions to see when something goes wrong and investigate locally
benchmarks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
lfs: true
- name: Set up JDK
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
cache: maven
- name: Build with Maven
run: mvn -B install -Pbenchmarks -DskipTests
- name: Run benchmarks
working-directory: ./arebac-neo4j
run: java -cp target/classes:target/test-classes:target/all-dependencies/*:target/arebac-neo4j-0.0.1-SNAPSHOT.jar:../arebac-core/target/classes/ org.openjdk.jmh.Main -foe true
benchmarks-graal:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
lfs: true
- name: Set up JDK
uses: graalvm/setup-graalvm@v1
with:
java-version: '21'
distribution: 'graalvm'
cache: maven
- name: Build with Maven
run: mvn -B install -Pbenchmarks -DskipTests
- name: Run benchmarks
working-directory: ./arebac-neo4j
run: java -cp target/classes:target/test-classes:target/all-dependencies/*:target/arebac-neo4j-0.0.1-SNAPSHOT.jar:../arebac-core/target/classes/ org.openjdk.jmh.Main -foe true