File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,67 +2,25 @@ name: CI
22
33on :
44 push :
5- branches : [ 'master', 'release-0-8', 'release-0-9', 'release-0-10' ]
5+ branches : [ 'master' ]
66 pull_request :
77 branches : ['**']
88
99jobs :
1010 tests :
1111 runs-on : ubuntu-latest
12- services :
13- postgres :
14- image : postgres
15- env :
16- POSTGRES_PASSWORD : password
17- POSTGRES_DB : test
18- options : >-
19- --health-cmd pg_isready
20- --health-interval 10s
21- --health-timeout 5s
22- --health-retries 5
23- ports :
24- - 5432:5432
2512 strategy :
2613 fail-fast : false
2714 matrix :
2815 ruby :
29- - 2.6
30- - 2.7
31- - ' 3.0'
32- - 3.1
33- - 3.2
16+ - ' 3.3'
17+ - ' 3.2'
3418 rails :
35- - 7.0.4
36- - 6.1.7
37- - 6.0.6
38- - 5.2.8.1
39- - 5.1.7
19+ - ' 7.1'
20+ - ' 7.0'
21+ - ' 8.0.2'
4022 database_url :
41- - postgresql://postgres:password@localhost:5432/test
4223 - sqlite3:test_db
43- exclude :
44- - ruby : 3.2
45- rails : 6.0.6
46- - ruby : 3.2
47- rails : 5.2.8.1
48- - ruby : 3.2
49- rails : 5.1.7
50- - ruby : 3.1
51- rails : 6.0.6
52- - ruby : 3.1
53- rails : 5.2.8.1
54- - ruby : 3.1
55- rails : 5.1.7
56- - ruby : ' 3.0'
57- rails : 6.0.6
58- - ruby : ' 3.0'
59- rails : 5.2.8.1
60- - ruby : ' 3.0'
61- rails : 5.1.7
62- - ruby : 2.6
63- rails : 7.0.4
64- - database_url : postgresql://postgres:password@localhost:5432/test
65- rails : 5.1.7
6624 env :
6725 RAILS_VERSION : ${{ matrix.rails }}
6826 DATABASE_URL : ${{ matrix.database_url }}
7331 uses : ruby/setup-ruby@v1
7432 with :
7533 ruby-version : ${{ matrix.ruby }}
76- - name : Install dependencies
77- run : bundle install --jobs 4 --retry 3
34+ bundler-cache : true
7835 - name : Run tests
7936 run : bundle exec rake test
You can’t perform that action at this time.
0 commit comments