File tree Expand file tree Collapse file tree 1 file changed +0
-17
lines changed
Expand file tree Collapse file tree 1 file changed +0
-17
lines changed Original file line number Diff line number Diff line change @@ -22,31 +22,14 @@ jobs:
2222 rails_version : 6.1
2323 - ruby_version : 3.3
2424 rails_version : 6.1
25- services :
26- db :
27- image : postgres:16
28- ports : ["5432:5432"]
29- env :
30- POSTGRES_USER : postgres
31- POSTGRES_PASSWORD : postgres
32- options : >-
33- --health-cmd pg_isready
34- --health-interval 10s
35- --health-timeout 5s
36- --health-retries 5
3725 steps :
3826 - uses : actions/checkout@v4
3927 - name : Setup Ruby
4028 uses : ruby/setup-ruby@v1
4129 with :
4230 ruby-version : ${{ matrix.ruby_version }}
4331 - name : Build and run test
44- env :
45- DATABASE_URL : postgres://postgres:@localhost:5432/test
46- POSTGRES_USER : postgres
47- POSTGRES_PASSWORD : postgres
4832 run : |
49- sudo apt-get -yqq install libpq-dev
5033 bundle
5134 bundle exec appraisal rails_${{ matrix.rails_version }} bundle
5235 bundle exec appraisal rails_${{ matrix.rails_version }} rake
You can’t perform that action at this time.
0 commit comments