Skip to content

Commit

Permalink
updated workfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
klobuczek committed Jan 26, 2024
1 parent 15f9a15 commit 722799f
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 4 deletions.
16 changes: 13 additions & 3 deletions .github/workflows/e2e_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: E2E Test

on:
push:
branches: [ '11' ]
branches: [ '12' ]
pull_request:
branches: [ '11' ]
branches: [ '12' ]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
Expand All @@ -16,10 +16,13 @@ jobs:
strategy:
fail-fast: false
matrix:
ruby: [ jruby-9.4.5.0, ruby-3.2.3 ]
ruby: [ jruby, ruby-3.2.3 ]
neo4j: [ 5.16.0 ]
active_model: [ 7.1.3 ]
# jruby will fail till bug https://github.com/jruby/jruby-openssl/issues/290 is fixed
include:
- ruby: jruby
java-version: 17
env:
ACTIVE_MODEL_VERSION: ${{ matrix.active_model }}
JRUBY_OPTS: --debug -J-Xmx1280m -Xcompile.invokedynamic=false -J-XX:+TieredCompilation -J-XX:TieredStopAtLevel=1 -J-noverify -Xcompile.mode=OFF
Expand All @@ -34,6 +37,13 @@ jobs:
with:
ruby-version: ${{ matrix.ruby }}

- name: Set up Java
uses: actions/setup-java@v3
if: matrix.java-version
with:
distribution: 'temurin'
java-version: ${{ matrix.java-version }}

- name: Wait for neo4j
run: while [ $((curl localhost:7474/ > /dev/null 2>&1); echo $?) -ne 0 ]; do sleep 1; done

Expand Down
11 changes: 10 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ruby: [ jruby-9.4.5.0, ruby-3.1.4 ]
ruby: [ jruby, ruby-3.1.4 ]
neo4j: [ 5.16.0 ]
active_model: [ 7.0.8, 7.1.3 ]
include:
Expand All @@ -26,6 +26,8 @@ jobs:
- ruby: ruby-3.3.0
neo4j: 5.16.0
active_model: 7.1.3
- ruby: jruby
java-version: 17
env:
NEO4J_VERSION: ${{ matrix.neo4j }}
ACTIVE_MODEL_VERSION: ${{ matrix.active_model }}
Expand All @@ -41,6 +43,13 @@ jobs:
with:
ruby-version: ${{ matrix.ruby }}

- name: Set up Java
uses: actions/setup-java@v3
if: matrix.java-version
with:
distribution: 'temurin'
java-version: ${{ matrix.java-version }}

- name: Install dependencies
run: bundle update

Expand Down

0 comments on commit 722799f

Please sign in to comment.