File tree Expand file tree Collapse file tree 2 files changed +62
-33
lines changed
Expand file tree Collapse file tree 2 files changed +62
-33
lines changed Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ push :
5+ branches : [ 'master', 'release-0-8', 'release-0-9', 'release-0-10' ]
6+ pull_request :
7+ branches : ['**']
8+
9+ jobs :
10+ tests :
11+ 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
25+ strategy :
26+ fail-fast : false
27+ matrix :
28+ ruby :
29+ - 2.6.6
30+ - 2.7.2
31+ - 3.0.0
32+ rails :
33+ - 6.1.1
34+ - 6.0.3.4
35+ - 5.2.4.4
36+ - 5.1.7
37+ database_url :
38+ - postgresql://postgres:password@localhost:5432/test
39+ - sqlite3:test_db
40+ exclude :
41+ - ruby : 3.0.0
42+ rails : 6.0.3.4
43+ - ruby : 3.0.0
44+ rails : 5.2.4.4
45+ - ruby : 3.0.0
46+ rails : 5.1.7
47+ - database_url : postgresql://postgres:password@localhost:5432/test
48+ rails : 5.1.7
49+ env :
50+ RAILS_VERSION : ${{ matrix.rails }}
51+ DATABASE_URL : ${{ matrix.database_url }}
52+ name : Ruby ${{ matrix.ruby }} Rails ${{ matrix.rails }} DB ${{ matrix.database_url }}
53+ steps :
54+ - uses : actions/checkout@v2
55+ - name : Set up Ruby
56+ uses : ruby/setup-ruby@v1
57+ with :
58+ ruby-version : ${{ matrix.ruby }}
59+ - name : Install dependencies
60+ run : bundle install --jobs 4 --retry 3
61+ - name : Run tests
62+ run : bundle exec rake test
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments