Skip to content

Commit

Permalink
jruby excluded against rails 7
Browse files Browse the repository at this point in the history
  • Loading branch information
mrhardikjoshi committed Jan 12, 2024
1 parent 33ca198 commit 73f8169
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/e2e_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,12 @@ jobs:
strategy:
fail-fast: false
matrix:
ruby: [ jruby-9.3.13.0, ruby-3.2.2 ]
ruby: [ jruby-9.4.5.0, ruby-3.2.2 ]
neo4j: [ 5.15.0 ]
active_model: [ 7.1.2 ]
active_model: [ 7.1.2, 6.1.7.6 ]
exclude:
- ruby: jruby-9.4.5.0
active_model: 7.1.2
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 Down
8 changes: 7 additions & 1 deletion e2e_tests/setup.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
#!/bin/sh

gem install rails -v 7.1.2 --no-document
if [[ -n "$ACTIVE_MODEL_VERSION" ]]
then
gem install rails -v $ACTIVE_MODEL_VERSION --no-document
else
gem install rails -v 7.1.2 --no-document
fi

if [[ -n "$SHA" ]]
then
sed 's/.*gem '"'"'activegraph'"'"'.*/gem '"'"'activegraph'"'"', github: "neo4jrb\/activegraph", ref: "'"$SHA"'"/' docs/activegraph.rb > template.tmp
Expand Down

0 comments on commit 73f8169

Please sign in to comment.