File tree Expand file tree Collapse file tree 2 files changed +1
-244
lines changed Expand file tree Collapse file tree 2 files changed +1
-244
lines changed Original file line number Diff line number Diff line change 2424 fail-fast : false
2525 matrix :
2626 ruby-version :
27+ - 3.1.6
2728 - 3.2.0
2829 - 3.2.4
2930 - 3.3.0
6465 bin/rails db:setup
6566 - name : Run tests
6667 run : bin/rails test
67-
68- tests-ruby-3-1-6 :
69- name : Tests Ruby 3.1.6
70- runs-on : ubuntu-latest
71- strategy :
72- matrix :
73- database : [ mysql, postgres, sqlite ]
74- services :
75- mysql :
76- image : mysql:8.0.31
77- env :
78- MYSQL_ALLOW_EMPTY_PASSWORD : " yes"
79- ports :
80- - 33060:3306
81- options : --health-cmd "mysql -h localhost -e \"select now()\"" --health-interval 1s --health-timeout 5s --health-retries 30
82- postgres :
83- image : postgres:15.1
84- env :
85- POSTGRES_HOST_AUTH_METHOD : " trust"
86- ports :
87- - 55432:5432
88- env :
89- TARGET_DB : ${{ matrix.database }}
90- steps :
91- - name : Checkout code
92- uses : actions/checkout@v4
93- - name : Setup Ruby and install specific gems for 3.1.6
94- uses : ruby/setup-ruby@v1
95- with :
96- ruby-version : 3.1.6
97- - name : Install dependencies with specific Gemfile.lock
98- run : |
99- cp Gemfile.lock.ruby_3_1_6 Gemfile.lock
100- bundle install
101- - name : Setup test database
102- run : |
103- bin/rails db:setup
104- - name : Run tests
105- run : bin/rails test
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments