Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
tom93 committed Dec 30, 2023
1 parent bf774fc commit cd998ba
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,17 @@ jobs:
ports: ['5432:5432']
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
--health-interval 1s
--health-timeout 0s
--health-retries 20
redis:
image: redis
ports: ['6379:6379']
options: >-
--health-cmd "redis-cli ping"
--health-interval 10s
--health-timeout 5s
--health-retries 5
--health-interval 1s
--health-timeout 0s
--health-retries 20
env:
DATABASE_URL: postgresql://postgres:postgres@localhost:5432
Expand Down Expand Up @@ -53,7 +53,7 @@ jobs:

- run: |
sed '/if url = ENV.*DATABASE_URL.*/s/^/puts "XXX url=#{ENV["DATABASE_URL"].inspect}";/' -i vendor/bundle/ruby/2.4.0/gems/activerecord-4.2.11.3/lib/active_record/connection_handling.rb; sed 's/def connect$/def connect; puts "XXX conn #{@connection_parameters.inspect}"/' -i vendor/bundle/ruby/2.4.0/gems/activerecord-4.2.11.3/lib/active_record/connection_adapters/postgresql_adapter.rb
- run: bundle exec rake db:test:load
- run: bundle --version; bundle exec rake db:test:load
- run: bundle exec rspec

- uses: coverallsapp/github-action@v1
Expand Down

0 comments on commit cd998ba

Please sign in to comment.