From 39b24b4ab0768aa6b0ee91648a4ce00c41d79fb9 Mon Sep 17 00:00:00 2001 From: Heinrich Klobuczek Date: Tue, 1 Nov 2022 12:49:09 +0100 Subject: [PATCH 01/16] added 5.1.0 to specs --- .github/workflows/specs.yml | 30 +++++++++++++++++------------- spec/integration/load_csv_spec.rb | 4 ++-- 2 files changed, 19 insertions(+), 15 deletions(-) diff --git a/.github/workflows/specs.yml b/.github/workflows/specs.yml index 22f15e0d..e097ef64 100644 --- a/.github/workflows/specs.yml +++ b/.github/workflows/specs.yml @@ -18,11 +18,24 @@ jobs: fail-fast: false matrix: ruby: [ jruby, ruby ] - neo4j: [ 3.5.35, 4.0.12, 4.1.12, 4.2.19, 4.3.19, 4.4.12 ] + neo4j: [ 3.5.35, 4.0.12, 4.1.12, 4.2.19, 4.3.19, 4.4.12, 5.1.0 ] + java-version: 11 + include: + - neo4j: 5.1.0 + ruby: ruby + java-version: 17 + - neo4j: 5.1.0 + ruby: jruby + options: "-t ~causal" env: - NEO4J_EDITION_FLAG: -e NEO4J_VERSION: ${{ matrix.neo4j }} steps: + - name: Start neo4j + run: docker run --name neo4j --env NEO4J_AUTH=neo4j/pass --env NEO4J_ACCEPT_LICENSE_AGREEMENT=yes -p7687:7687 --volume=/tmp:/import --rm neo4j:${{ matrix.neo4j }}-enterprise & + +# - name: try sleeping +# run: sleep 60 + - uses: actions/checkout@v2 - name: Set up Ruby @@ -41,18 +54,9 @@ jobs: - name: Set up Java uses: actions/setup-java@v1 with: - java-version: ${{ matrix.java-version || 11 }} - - - name: Setup Neo4j - run: | - neoctrl-install $NEO4J_EDITION_FLAG $NEO4J_VERSION servers - if [ -n "$NEO4J_EDITION_FLAG" ]; then NEO4J_EDITION=enterprise; else NEO4J_EDITION=community; fi - NEO4J_DIR=servers/neo4j-$NEO4J_EDITION-$NEO4J_VERSION - neoctrl-configure $NEO4J_DIR dbms.memory.pagecache.size=600m dbms.memory.heap.max_size=600m dbms.memory.heap.initial_size=600m dbms.directories.import= dbms.connectors.default_listen_address=:: - neoctrl-set-initial-password pass $NEO4J_DIR - neoctrl-start $NEO4J_DIR + java-version: ${{ matrix.java-version }} - name: Install dependencies run: bin/setup - name: Run tests - run: bundle exec rspec + run: bundle exec rspec ${{ matrix.options diff --git a/spec/integration/load_csv_spec.rb b/spec/integration/load_csv_spec.rb index f7f13ca2..9e770019 100644 --- a/spec/integration/load_csv_spec.rb +++ b/spec/integration/load_csv_spec.rb @@ -5,7 +5,7 @@ RSpec.describe 'LoadCsv', csv: true do let(:iris_class_names) { %w[Iris-setosa Iris-versicolor Iris-virginica] } - let(:file) { Tempfile.new(%w[file .csv]) } + let(:file) { Tempfile.new('', '/tmp') } let(:file_path) { file.path } let(:iris_data) do %w[sepal_length,sepal_width,petal_length,petal_width,class_name @@ -189,7 +189,7 @@ else "#{load} CALL { WITH l #{subquery} } IN TRANSACTIONS OF #{size} ROWS #{return_s}" end - result = session.run(query, csv_file_url: "file://#{file_path}") + result = session.run(query, csv_file_url: "file:///#{File.basename(file)}") expect(result.next[:c]).to eq(150) expect(result.has_next?).to be_falsey end From cb7772eb5921bf6341eb3a303526b6d554ddc132 Mon Sep 17 00:00:00 2001 From: Heinrich Klobuczek Date: Tue, 1 Nov 2022 16:17:02 +0100 Subject: [PATCH 02/16] added 5.1.0 to specs --- .github/workflows/specs.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/specs.yml b/.github/workflows/specs.yml index e097ef64..c531c3d8 100644 --- a/.github/workflows/specs.yml +++ b/.github/workflows/specs.yml @@ -19,7 +19,6 @@ jobs: matrix: ruby: [ jruby, ruby ] neo4j: [ 3.5.35, 4.0.12, 4.1.12, 4.2.19, 4.3.19, 4.4.12, 5.1.0 ] - java-version: 11 include: - neo4j: 5.1.0 ruby: ruby @@ -54,7 +53,7 @@ jobs: - name: Set up Java uses: actions/setup-java@v1 with: - java-version: ${{ matrix.java-version }} + java-version: ${{ matrix.java-version || 11 }} - name: Install dependencies run: bin/setup From d4e59efefd0bc13ac37061b8cf5d982d2d2a39a5 Mon Sep 17 00:00:00 2001 From: Heinrich Klobuczek Date: Tue, 1 Nov 2022 16:30:52 +0100 Subject: [PATCH 03/16] added 5.1.0 to specs --- .github/workflows/specs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/specs.yml b/.github/workflows/specs.yml index c531c3d8..4bf72402 100644 --- a/.github/workflows/specs.yml +++ b/.github/workflows/specs.yml @@ -58,4 +58,4 @@ jobs: - name: Install dependencies run: bin/setup - name: Run tests - run: bundle exec rspec ${{ matrix.options + run: bundle exec rspec ${{ matrix.options }} From a0d1c6ebfa37f409784289c593fceba061eaed13 Mon Sep 17 00:00:00 2001 From: Heinrich Klobuczek Date: Tue, 1 Nov 2022 20:51:20 +0100 Subject: [PATCH 04/16] added 5.1.0 to specs --- .github/workflows/specs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/specs.yml b/.github/workflows/specs.yml index 4bf72402..114f33dc 100644 --- a/.github/workflows/specs.yml +++ b/.github/workflows/specs.yml @@ -35,7 +35,7 @@ jobs: # - name: try sleeping # run: sleep 60 - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Set up Ruby uses: ruby/setup-ruby@v1 From bebf065310d0479d738d7aad9708229748fe342d Mon Sep 17 00:00:00 2001 From: Heinrich Klobuczek Date: Tue, 1 Nov 2022 20:53:44 +0100 Subject: [PATCH 05/16] added 5.1.0 to specs --- .github/workflows/specs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/specs.yml b/.github/workflows/specs.yml index 114f33dc..2ed5519e 100644 --- a/.github/workflows/specs.yml +++ b/.github/workflows/specs.yml @@ -51,7 +51,7 @@ jobs: packages: git+https://github.com/klobuczek/boltkit@1.3#egg=boltkit - name: Set up Java - uses: actions/setup-java@v1 + uses: actions/setup-java@v3 with: java-version: ${{ matrix.java-version || 11 }} From a6017ca25c6aa06cce2c60a11859e6834d4d625e Mon Sep 17 00:00:00 2001 From: Heinrich Klobuczek Date: Tue, 1 Nov 2022 20:59:40 +0100 Subject: [PATCH 06/16] added 5.1.0 to specs --- .github/workflows/specs.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/specs.yml b/.github/workflows/specs.yml index 2ed5519e..839a9b28 100644 --- a/.github/workflows/specs.yml +++ b/.github/workflows/specs.yml @@ -32,9 +32,6 @@ jobs: - name: Start neo4j run: docker run --name neo4j --env NEO4J_AUTH=neo4j/pass --env NEO4J_ACCEPT_LICENSE_AGREEMENT=yes -p7687:7687 --volume=/tmp:/import --rm neo4j:${{ matrix.neo4j }}-enterprise & -# - name: try sleeping -# run: sleep 60 - - uses: actions/checkout@v3 - name: Set up Ruby @@ -53,6 +50,7 @@ jobs: - name: Set up Java uses: actions/setup-java@v3 with: + distribution: 'temurin' java-version: ${{ matrix.java-version || 11 }} - name: Install dependencies From 709ea7fb079a9e0eff3ac12451f4e25696528325 Mon Sep 17 00:00:00 2001 From: Heinrich Klobuczek Date: Tue, 1 Nov 2022 21:02:36 +0100 Subject: [PATCH 07/16] added 5.1.0 to specs --- .github/workflows/specs.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/specs.yml b/.github/workflows/specs.yml index 839a9b28..6164bf11 100644 --- a/.github/workflows/specs.yml +++ b/.github/workflows/specs.yml @@ -57,3 +57,5 @@ jobs: run: bin/setup - name: Run tests run: bundle exec rspec ${{ matrix.options }} + - name: List tmp + run: ls -al /tmp From 5b6a8a1ff6bef9a3966fec6cd9fe8f79a9f09eca Mon Sep 17 00:00:00 2001 From: Heinrich Klobuczek Date: Tue, 1 Nov 2022 21:17:05 +0100 Subject: [PATCH 08/16] added 5.1.0 to specs --- .github/workflows/specs.yml | 24 +++++++++++++----------- .github/workflows/testkit.yml | 4 ++-- spec/integration/load_csv_spec.rb | 2 ++ 3 files changed, 17 insertions(+), 13 deletions(-) diff --git a/.github/workflows/specs.yml b/.github/workflows/specs.yml index 6164bf11..194bcac4 100644 --- a/.github/workflows/specs.yml +++ b/.github/workflows/specs.yml @@ -17,15 +17,17 @@ jobs: strategy: fail-fast: false matrix: - ruby: [ jruby, ruby ] - neo4j: [ 3.5.35, 4.0.12, 4.1.12, 4.2.19, 4.3.19, 4.4.12, 5.1.0 ] - include: - - neo4j: 5.1.0 - ruby: ruby - java-version: 17 - - neo4j: 5.1.0 - ruby: jruby - options: "-t ~causal" +# ruby: [ jruby, ruby ] +# neo4j: [ 3.5.35, 4.0.12, 4.1.12, 4.2.19, 4.3.19, 4.4.12, 5.1.0 ] + ruby: [ ruby ] + neo4j: [ 4.4.12 ] +# include: +# - neo4j: 5.1.0 +# ruby: ruby +# java-version: 17 +# - neo4j: 5.1.0 +# ruby: jruby +# options: "-t ~causal" env: NEO4J_VERSION: ${{ matrix.neo4j }} steps: @@ -55,7 +57,7 @@ jobs: - name: Install dependencies run: bin/setup - - name: Run tests - run: bundle exec rspec ${{ matrix.options }} - name: List tmp run: ls -al /tmp + - name: Run tests + run: bundle exec rspec ${{ matrix.options }} diff --git a/.github/workflows/testkit.yml b/.github/workflows/testkit.yml index 0289bbb4..28efe1c4 100644 --- a/.github/workflows/testkit.yml +++ b/.github/workflows/testkit.yml @@ -6,9 +6,9 @@ name: TestKit on: # Triggers the workflow on push or pull request events but only for the master branch push: - branches: [ 4.4 ] +# branches: [ 4.4 ] pull_request: - branches: [ 4.4 ] +# branches: [ 4.4 ] # Allows you to run this workflow manually from the Actions tab workflow_dispatch: diff --git a/spec/integration/load_csv_spec.rb b/spec/integration/load_csv_spec.rb index 9e770019..fcf9d936 100644 --- a/spec/integration/load_csv_spec.rb +++ b/spec/integration/load_csv_spec.rb @@ -190,6 +190,8 @@ "#{load} CALL { WITH l #{subquery} } IN TRANSACTIONS OF #{size} ROWS #{return_s}" end result = session.run(query, csv_file_url: "file:///#{File.basename(file)}") + puts Dir('/tmp').entries + expect(result.next[:c]).to eq(150) expect(result.has_next?).to be_falsey end From 4a22fb79e549cb0e991ea388b153aa68004a5dcb Mon Sep 17 00:00:00 2001 From: Heinrich Klobuczek Date: Tue, 1 Nov 2022 21:24:41 +0100 Subject: [PATCH 09/16] added 5.1.0 to specs --- .github/workflows/testkit.yml | 2 ++ spec/integration/load_csv_spec.rb | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/testkit.yml b/.github/workflows/testkit.yml index 28efe1c4..4ec4f54e 100644 --- a/.github/workflows/testkit.yml +++ b/.github/workflows/testkit.yml @@ -7,8 +7,10 @@ on: # Triggers the workflow on push or pull request events but only for the master branch push: # branches: [ 4.4 ] + branches: [ ] pull_request: # branches: [ 4.4 ] + branches: [ ] # Allows you to run this workflow manually from the Actions tab workflow_dispatch: diff --git a/spec/integration/load_csv_spec.rb b/spec/integration/load_csv_spec.rb index fcf9d936..0976bea5 100644 --- a/spec/integration/load_csv_spec.rb +++ b/spec/integration/load_csv_spec.rb @@ -190,7 +190,7 @@ "#{load} CALL { WITH l #{subquery} } IN TRANSACTIONS OF #{size} ROWS #{return_s}" end result = session.run(query, csv_file_url: "file:///#{File.basename(file)}") - puts Dir('/tmp').entries + puts Dir.entries('/tmp') expect(result.next[:c]).to eq(150) expect(result.has_next?).to be_falsey From bc22e797688e62d841711871b105954c5430ff4a Mon Sep 17 00:00:00 2001 From: Heinrich Klobuczek Date: Tue, 1 Nov 2022 22:31:47 +0100 Subject: [PATCH 10/16] added 5.1.0 to specs --- .github/workflows/specs.yml | 2 +- .github/workflows/{testkit.yml => testkit.yml1} | 6 ++---- spec/integration/load_csv_spec.rb | 2 +- 3 files changed, 4 insertions(+), 6 deletions(-) rename .github/workflows/{testkit.yml => testkit.yml1} (97%) diff --git a/.github/workflows/specs.yml b/.github/workflows/specs.yml index 194bcac4..ca715a00 100644 --- a/.github/workflows/specs.yml +++ b/.github/workflows/specs.yml @@ -32,7 +32,7 @@ jobs: NEO4J_VERSION: ${{ matrix.neo4j }} steps: - name: Start neo4j - run: docker run --name neo4j --env NEO4J_AUTH=neo4j/pass --env NEO4J_ACCEPT_LICENSE_AGREEMENT=yes -p7687:7687 --volume=/tmp:/import --rm neo4j:${{ matrix.neo4j }}-enterprise & + run: docker run --name neo4j --env NEO4J_AUTH=neo4j/pass --env NEO4J_ACCEPT_LICENSE_AGREEMENT=yes -p7687:7687 --volume=$PWD/tmp:/var/lib/neo4j/import --rm neo4j:${{ matrix.neo4j }}-enterprise & - uses: actions/checkout@v3 diff --git a/.github/workflows/testkit.yml b/.github/workflows/testkit.yml1 similarity index 97% rename from .github/workflows/testkit.yml rename to .github/workflows/testkit.yml1 index 4ec4f54e..0289bbb4 100644 --- a/.github/workflows/testkit.yml +++ b/.github/workflows/testkit.yml1 @@ -6,11 +6,9 @@ name: TestKit on: # Triggers the workflow on push or pull request events but only for the master branch push: -# branches: [ 4.4 ] - branches: [ ] + branches: [ 4.4 ] pull_request: -# branches: [ 4.4 ] - branches: [ ] + branches: [ 4.4 ] # Allows you to run this workflow manually from the Actions tab workflow_dispatch: diff --git a/spec/integration/load_csv_spec.rb b/spec/integration/load_csv_spec.rb index 0976bea5..9d55c10e 100644 --- a/spec/integration/load_csv_spec.rb +++ b/spec/integration/load_csv_spec.rb @@ -5,7 +5,7 @@ RSpec.describe 'LoadCsv', csv: true do let(:iris_class_names) { %w[Iris-setosa Iris-versicolor Iris-virginica] } - let(:file) { Tempfile.new('', '/tmp') } + let(:file) { Tempfile.new('', 'tmp') } let(:file_path) { file.path } let(:iris_data) do %w[sepal_length,sepal_width,petal_length,petal_width,class_name From 5b73c2710b6df69a6eccb076066c0dd0bcaa1767 Mon Sep 17 00:00:00 2001 From: Heinrich Klobuczek Date: Tue, 1 Nov 2022 22:47:10 +0100 Subject: [PATCH 11/16] added 5.1.0 to specs --- .github/workflows/specs.yml | 2 +- spec/integration/async/async_session_spec.rb | 0 spec/integration/bookmark_spec.rb | 0 spec/integration/causal_clustering_spec.rb | 0 spec/integration/direct_driver_spec.rb | 0 spec/integration/load_csv_spec.rb | 3 +-- spec/integration/logging_spec.rb | 0 spec/integration/parameters_spec.rb | 0 spec/integration/result_stream_spec.rb | 0 spec/integration/scalar_types_spec.rb | 0 spec/integration/session_spec.rb | 0 spec/integration/summary_spec.rb | 0 spec/integration/transaction_spec.rb | 0 13 files changed, 2 insertions(+), 3 deletions(-) mode change 100644 => 100755 spec/integration/async/async_session_spec.rb mode change 100644 => 100755 spec/integration/bookmark_spec.rb mode change 100644 => 100755 spec/integration/causal_clustering_spec.rb mode change 100644 => 100755 spec/integration/direct_driver_spec.rb mode change 100644 => 100755 spec/integration/load_csv_spec.rb mode change 100644 => 100755 spec/integration/logging_spec.rb mode change 100644 => 100755 spec/integration/parameters_spec.rb mode change 100644 => 100755 spec/integration/result_stream_spec.rb mode change 100644 => 100755 spec/integration/scalar_types_spec.rb mode change 100644 => 100755 spec/integration/session_spec.rb mode change 100644 => 100755 spec/integration/summary_spec.rb mode change 100644 => 100755 spec/integration/transaction_spec.rb diff --git a/.github/workflows/specs.yml b/.github/workflows/specs.yml index ca715a00..ed89f86f 100644 --- a/.github/workflows/specs.yml +++ b/.github/workflows/specs.yml @@ -32,7 +32,7 @@ jobs: NEO4J_VERSION: ${{ matrix.neo4j }} steps: - name: Start neo4j - run: docker run --name neo4j --env NEO4J_AUTH=neo4j/pass --env NEO4J_ACCEPT_LICENSE_AGREEMENT=yes -p7687:7687 --volume=$PWD/tmp:/var/lib/neo4j/import --rm neo4j:${{ matrix.neo4j }}-enterprise & + run: docker run --name neo4j --env NEO4J_AUTH=neo4j/pass --env NEO4J_ACCEPT_LICENSE_AGREEMENT=yes -p7687:7687 --volume=$PWD/spec/integration:/var/lib/neo4j/import --rm neo4j:${{ matrix.neo4j }}-enterprise & - uses: actions/checkout@v3 diff --git a/spec/integration/async/async_session_spec.rb b/spec/integration/async/async_session_spec.rb old mode 100644 new mode 100755 diff --git a/spec/integration/bookmark_spec.rb b/spec/integration/bookmark_spec.rb old mode 100644 new mode 100755 diff --git a/spec/integration/causal_clustering_spec.rb b/spec/integration/causal_clustering_spec.rb old mode 100644 new mode 100755 diff --git a/spec/integration/direct_driver_spec.rb b/spec/integration/direct_driver_spec.rb old mode 100644 new mode 100755 diff --git a/spec/integration/load_csv_spec.rb b/spec/integration/load_csv_spec.rb old mode 100644 new mode 100755 index 9d55c10e..12c4cf14 --- a/spec/integration/load_csv_spec.rb +++ b/spec/integration/load_csv_spec.rb @@ -5,7 +5,7 @@ RSpec.describe 'LoadCsv', csv: true do let(:iris_class_names) { %w[Iris-setosa Iris-versicolor Iris-virginica] } - let(:file) { Tempfile.new('', 'tmp') } + let(:file) { Tempfile.new('', __dir__) } let(:file_path) { file.path } let(:iris_data) do %w[sepal_length,sepal_width,petal_length,petal_width,class_name @@ -190,7 +190,6 @@ "#{load} CALL { WITH l #{subquery} } IN TRANSACTIONS OF #{size} ROWS #{return_s}" end result = session.run(query, csv_file_url: "file:///#{File.basename(file)}") - puts Dir.entries('/tmp') expect(result.next[:c]).to eq(150) expect(result.has_next?).to be_falsey diff --git a/spec/integration/logging_spec.rb b/spec/integration/logging_spec.rb old mode 100644 new mode 100755 diff --git a/spec/integration/parameters_spec.rb b/spec/integration/parameters_spec.rb old mode 100644 new mode 100755 diff --git a/spec/integration/result_stream_spec.rb b/spec/integration/result_stream_spec.rb old mode 100644 new mode 100755 diff --git a/spec/integration/scalar_types_spec.rb b/spec/integration/scalar_types_spec.rb old mode 100644 new mode 100755 diff --git a/spec/integration/session_spec.rb b/spec/integration/session_spec.rb old mode 100644 new mode 100755 diff --git a/spec/integration/summary_spec.rb b/spec/integration/summary_spec.rb old mode 100644 new mode 100755 diff --git a/spec/integration/transaction_spec.rb b/spec/integration/transaction_spec.rb old mode 100644 new mode 100755 From 58be3f6469656602f9b1c929e853b464c4a9f10b Mon Sep 17 00:00:00 2001 From: Heinrich Klobuczek Date: Tue, 1 Nov 2022 22:58:31 +0100 Subject: [PATCH 12/16] added 5.1.0 to specs --- .github/workflows/specs.yml | 2 +- spec/integration/load_csv_spec.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/specs.yml b/.github/workflows/specs.yml index ed89f86f..c0d42456 100644 --- a/.github/workflows/specs.yml +++ b/.github/workflows/specs.yml @@ -32,7 +32,7 @@ jobs: NEO4J_VERSION: ${{ matrix.neo4j }} steps: - name: Start neo4j - run: docker run --name neo4j --env NEO4J_AUTH=neo4j/pass --env NEO4J_ACCEPT_LICENSE_AGREEMENT=yes -p7687:7687 --volume=$PWD/spec/integration:/var/lib/neo4j/import --rm neo4j:${{ matrix.neo4j }}-enterprise & + run: docker run --name neo4j --env NEO4J_AUTH=neo4j/pass --env NEO4J_ACCEPT_LICENSE_AGREEMENT=yes -p7687:7687 --volume=$PWD/tmp:/var/lib/neo4j/inmport --rm neo4j:${{ matrix.neo4j }}-enterprise & - uses: actions/checkout@v3 diff --git a/spec/integration/load_csv_spec.rb b/spec/integration/load_csv_spec.rb index 12c4cf14..08f115af 100755 --- a/spec/integration/load_csv_spec.rb +++ b/spec/integration/load_csv_spec.rb @@ -5,7 +5,7 @@ RSpec.describe 'LoadCsv', csv: true do let(:iris_class_names) { %w[Iris-setosa Iris-versicolor Iris-virginica] } - let(:file) { Tempfile.new('', __dir__) } + let(:file) { Tempfile.new('', 'tmp') } let(:file_path) { file.path } let(:iris_data) do %w[sepal_length,sepal_width,petal_length,petal_width,class_name From f8396184f68f918485ee0f8442f72fb409226c64 Mon Sep 17 00:00:00 2001 From: Heinrich Klobuczek Date: Wed, 2 Nov 2022 00:16:18 +0100 Subject: [PATCH 13/16] added 5.1.0 to specs --- .github/workflows/specs.yml | 22 ++++++++----------- .../workflows/{testkit.yml1 => testkit.yml} | 0 2 files changed, 9 insertions(+), 13 deletions(-) rename .github/workflows/{testkit.yml1 => testkit.yml} (100%) diff --git a/.github/workflows/specs.yml b/.github/workflows/specs.yml index c0d42456..09e62aa7 100644 --- a/.github/workflows/specs.yml +++ b/.github/workflows/specs.yml @@ -17,17 +17,15 @@ jobs: strategy: fail-fast: false matrix: -# ruby: [ jruby, ruby ] -# neo4j: [ 3.5.35, 4.0.12, 4.1.12, 4.2.19, 4.3.19, 4.4.12, 5.1.0 ] - ruby: [ ruby ] - neo4j: [ 4.4.12 ] -# include: -# - neo4j: 5.1.0 -# ruby: ruby -# java-version: 17 -# - neo4j: 5.1.0 -# ruby: jruby -# options: "-t ~causal" + ruby: [ jruby, ruby ] + neo4j: [ 3.5.35, 4.0.12, 4.1.12, 4.2.19, 4.3.19, 4.4.12, 5.1.0 ] + include: + - neo4j: 5.1.0 + ruby: ruby + java-version: 17 + - neo4j: 5.1.0 + ruby: jruby + options: "-t ~causal" env: NEO4J_VERSION: ${{ matrix.neo4j }} steps: @@ -57,7 +55,5 @@ jobs: - name: Install dependencies run: bin/setup - - name: List tmp - run: ls -al /tmp - name: Run tests run: bundle exec rspec ${{ matrix.options }} diff --git a/.github/workflows/testkit.yml1 b/.github/workflows/testkit.yml similarity index 100% rename from .github/workflows/testkit.yml1 rename to .github/workflows/testkit.yml From 79ea4dbee83f6664bcf483db4ae6505041457e18 Mon Sep 17 00:00:00 2001 From: Heinrich Klobuczek Date: Wed, 2 Nov 2022 00:29:57 +0100 Subject: [PATCH 14/16] added 5.1.0 to specs --- .github/workflows/specs.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/specs.yml b/.github/workflows/specs.yml index 09e62aa7..5b2641d9 100644 --- a/.github/workflows/specs.yml +++ b/.github/workflows/specs.yml @@ -29,6 +29,7 @@ jobs: env: NEO4J_VERSION: ${{ matrix.neo4j }} steps: + - run: echo $PWD - name: Start neo4j run: docker run --name neo4j --env NEO4J_AUTH=neo4j/pass --env NEO4J_ACCEPT_LICENSE_AGREEMENT=yes -p7687:7687 --volume=$PWD/tmp:/var/lib/neo4j/inmport --rm neo4j:${{ matrix.neo4j }}-enterprise & From 0734e15601f41474319cb01c31903f1163bc3ab4 Mon Sep 17 00:00:00 2001 From: Heinrich Klobuczek Date: Wed, 2 Nov 2022 00:36:02 +0100 Subject: [PATCH 15/16] added 5.1.0 to specs --- .github/workflows/specs.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/specs.yml b/.github/workflows/specs.yml index 5b2641d9..92da5b9b 100644 --- a/.github/workflows/specs.yml +++ b/.github/workflows/specs.yml @@ -30,6 +30,8 @@ jobs: NEO4J_VERSION: ${{ matrix.neo4j }} steps: - run: echo $PWD + - run: mkdir -p $PWD/tmp + - run: chmod go+wr $PWD/tmp - name: Start neo4j run: docker run --name neo4j --env NEO4J_AUTH=neo4j/pass --env NEO4J_ACCEPT_LICENSE_AGREEMENT=yes -p7687:7687 --volume=$PWD/tmp:/var/lib/neo4j/inmport --rm neo4j:${{ matrix.neo4j }}-enterprise & From 731430b39e3e1f2c34324510ce723a13c7d15c24 Mon Sep 17 00:00:00 2001 From: Kinjalkumar Patel Date: Thu, 3 Nov 2022 19:15:17 +0530 Subject: [PATCH 16/16] test load csv --- .github/workflows/specs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/specs.yml b/.github/workflows/specs.yml index 92da5b9b..eec51cd9 100644 --- a/.github/workflows/specs.yml +++ b/.github/workflows/specs.yml @@ -31,7 +31,7 @@ jobs: steps: - run: echo $PWD - run: mkdir -p $PWD/tmp - - run: chmod go+wr $PWD/tmp + - run: chmod a+wr $PWD/tmp - name: Start neo4j run: docker run --name neo4j --env NEO4J_AUTH=neo4j/pass --env NEO4J_ACCEPT_LICENSE_AGREEMENT=yes -p7687:7687 --volume=$PWD/tmp:/var/lib/neo4j/inmport --rm neo4j:${{ matrix.neo4j }}-enterprise &