File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -132,8 +132,11 @@ jobs:
132132 with :
133133 name : binary-gem-${{ matrix.platform }}
134134
135+ - name : Set bundle path to avoid permission issues
136+ run : bundle config set --local path vendor/bundle
137+ - run : bundle add --help
135138 - run : bundle install
136- - run : gem install --local pg-*${{ matrix.platform }}.gem --verbose
139+ - run : bundle add pg --path= pg-*${{ matrix.platform }}.gem
137140
138141 - name : Download PostgreSQL
139142 if : ${{ matrix.os == 'windows-latest' && matrix.PGVERSION }}
@@ -156,12 +159,12 @@ jobs:
156159 - run : echo $env:PATH
157160 - name : Run specs
158161 if : ${{ matrix.os != 'windows-latest' }}
159- run : ruby -rpg -S rspec -fd spec/*_spec.rb spec/**/*_spec.rb
162+ run : bundle exec ruby -rpg -S rspec -fd spec/*_spec.rb spec/**/*_spec.rb
160163 - name : Run specs
161164 if : ${{ matrix.os == 'windows-latest' }}
162165 run : |
163166 ridk enable
164- ruby -rpg -S rspec -fd spec/*_spec.rb spec/**/*_spec.rb
167+ bundle exec ruby -rpg -S rspec -fd spec/*_spec.rb spec/**/*_spec.rb
165168
166169 - name : Print logs if job failed
167170 if : ${{ failure() && matrix.os == 'windows-latest' }}
You can’t perform that action at this time.
0 commit comments