diff --git a/.github/workflows/e2e_test.yml b/.github/workflows/e2e_test.yml index 298fba4c4..8ce0a7ab5 100644 --- a/.github/workflows/e2e_test.yml +++ b/.github/workflows/e2e_test.yml @@ -40,8 +40,12 @@ jobs: ruby-version: ${{ matrix.ruby }} - name: Setup test rails app + id: setup-rails-app run: ./e2e_tests/setup.sh + - name: Output + run: echo ${{ steps.setup-rails-app.outputs.version }} + - name: Wait for neo4j run: while [ $((curl localhost:7474/ > /dev/null 2>&1); echo $?) -ne 0 ]; do sleep 1; done diff --git a/e2e_tests/setup.sh b/e2e_tests/setup.sh index 15c7c62c7..3e84e86a0 100755 --- a/e2e_tests/setup.sh +++ b/e2e_tests/setup.sh @@ -5,9 +5,9 @@ gem install rails -v 7.1.2 --no-document # /Users/hardik_joshi/work/open_source/activegraph/docs/activegraph.rb sed 's/.*activegraph.*/gem '"'"'activegraph'"'"', github: "neo4jrb\/activegraph", ref: "'"$SHA"'"/' docs/activegraph.rb > template.tmp echo "template.tmp=$(cat template.tmp)" >> $GITHUB_OUTPUT -rails _7.1.2_ new myapp -O -m ./template.tmp -cd myapp -bundle exec rails generate model User name:string +# rails _7.1.2_ new myapp -O -m ./template.tmp +# cd myapp +# bundle exec rails generate model User name:string # RAILS_ENV=test bundle exec rake neo4j:migrate # bundle exec rails c # bundle exec rails s