Skip to content

Commit

Permalink
debug action
Browse files Browse the repository at this point in the history
  • Loading branch information
mrhardikjoshi committed Jan 11, 2024
1 parent 08874af commit 875fb3b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/e2e_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
6 changes: 3 additions & 3 deletions e2e_tests/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 875fb3b

Please sign in to comment.