File tree 4 files changed +38
-36
lines changed
4 files changed +38
-36
lines changed Original file line number Diff line number Diff line change @@ -10,12 +10,12 @@ concurrency:
10
10
jobs :
11
11
minitest :
12
12
runs-on : ubuntu-latest
13
- name : Ruby ${{ matrix.ruby }} / Rails ${{ matrix.rails }}
13
+ name : CI Mysql 5.7 Ruby ${{ matrix.ruby }} / Rails ${{ matrix.rails }} / Adapter ${{ matrix.adapter }}
14
14
services :
15
15
mysql :
16
16
image : mysql/mysql-server:5.7
17
17
ports :
18
- - " 3306:3306 "
18
+ - 3306
19
19
env :
20
20
MYSQL_USER : with_advisory
21
21
MYSQL_PASSWORD : with_advisory_pass
@@ -25,23 +25,23 @@ jobs:
25
25
fail-fast : false
26
26
matrix :
27
27
ruby :
28
- - ' 3.2'
29
- - ' 3.1'
30
- - ' 3.0'
31
- - ' 2.7'
28
+ # - '3.2'
29
+ # - '3.1'
30
+ # - '3.0'
31
+ # - '2.7'
32
32
- ' 3.3'
33
33
- ' truffleruby'
34
34
rails :
35
35
- 7.1
36
36
- " 7.0"
37
37
- 6.1
38
38
adapter :
39
- - mysql2://with_advisory:with_advisory_pass@0/with_advisory_lock_test
40
- - trilogy://with_advisory:with_advisory_pass@0/with_advisory_lock_test
39
+ - mysql2
40
+ - trilogy
41
41
include :
42
42
- ruby : jruby
43
43
rails : 6.1
44
- adapter : jdbcmysql://with_advisory:with_advisory_pass@0/with_advisory_lock_test
44
+ adapter : jdbcmysql
45
45
steps :
46
46
- name : Checkout
47
47
uses : actions/checkout@v4
56
56
- name : Test
57
57
env :
58
58
BUNDLE_GEMFILE : gemfiles/activerecord_${{ matrix.rails }}.gemfile
59
- DATABASE_URL : ${{ matrix.adapter }}
59
+ DATABASE_URL : ${{ matrix.adapter }}://with_advisory:with_advisory_pass@0:${{ job.services.mysql.ports[3306] }}/with_advisory_lock_test
60
60
WITH_ADVISORY_LOCK_PREFIX : ${{ github.run_id }}
61
61
run : bundle exec rake
Original file line number Diff line number Diff line change @@ -11,12 +11,12 @@ concurrency:
11
11
jobs :
12
12
minitest :
13
13
runs-on : ubuntu-latest
14
- name : Ruby ${{ matrix.ruby }} / Rails ${{ matrix.rails }}
14
+ name : CI Mysql 8.0 Ruby ${{ matrix.ruby }} / Rails ${{ matrix.rails }} / Adapter ${{ matrix.adapter }}
15
15
services :
16
16
mysql :
17
17
image : mysql/mysql-server
18
18
ports :
19
- - " 3306:3306 "
19
+ - 3306
20
20
env :
21
21
MYSQL_USER : with_advisory
22
22
MYSQL_PASSWORD : with_advisory_pass
@@ -26,23 +26,23 @@ jobs:
26
26
fail-fast : false
27
27
matrix :
28
28
ruby :
29
- - ' 3.2'
30
- - ' 3.1'
31
- - ' 3.0'
32
- - ' 2.7'
29
+ # - '3.2'
30
+ # - '3.1'
31
+ # - '3.0'
32
+ # - '2.7'
33
33
- ' 3.3'
34
34
- ' truffleruby'
35
35
rails :
36
36
- 7.1
37
37
- " 7.0"
38
38
- 6.1
39
39
adapter :
40
- - mysql2://with_advisory:with_advisory_pass@0/with_advisory_lock_test
40
+ - mysql2
41
41
# - trilogy://with_advisory:with_advisory_pass@0/with_advisory_lock_test Trilogy is not supported by mysql 8 with new encryption
42
42
include :
43
43
- ruby : jruby
44
44
rails : 6.1
45
- adapter : jdbcmysql://with_advisory:with_advisory_pass@0/with_advisory_lock_test
45
+ adapter : jdbcmysql
46
46
steps :
47
47
- name : Checkout
48
48
uses : actions/checkout@v4
57
57
- name : Test
58
58
env :
59
59
BUNDLE_GEMFILE : gemfiles/activerecord_${{ matrix.rails }}.gemfile
60
- DATABASE_URL : ${{ matrix.adapter }}
60
+ DATABASE_URL : ${{ matrix.adapter }}://with_advisory:with_advisory_pass@0:${{ job.services.mysql.ports[3306] }}/with_advisory_lock_test
61
61
WITH_ADVISORY_LOCK_PREFIX : ${{ github.run_id }}
62
62
run : bundle exec rake
Original file line number Diff line number Diff line change @@ -10,10 +10,12 @@ concurrency:
10
10
jobs :
11
11
minitest :
12
12
runs-on : ubuntu-latest
13
+ name : CI Postgresql Ruby ${{ matrix.ruby }} / Rails ${{ matrix.rails }} / Adapter ${{ matrix.adapter }}
13
14
services :
14
15
postgres :
15
- image : ' postgres:14-alpine'
16
- ports : ['5432:5432']
16
+ image : ' postgres:16-alpine'
17
+ ports :
18
+ - ' 5432'
17
19
env :
18
20
POSTGRES_USER : with_advisory
19
21
POSTGRES_PASSWORD : with_advisory_pass
@@ -27,22 +29,22 @@ jobs:
27
29
fail-fast : false
28
30
matrix :
29
31
ruby :
30
- - ' 3.2'
31
- - ' 3.1'
32
- - ' 3.0'
33
- - ' 2.7'
32
+ # - '3.2'
33
+ # - '3.1'
34
+ # - '3.0'
35
+ # - '2.7'
34
36
- ' 3.3'
35
37
- ' truffleruby'
36
38
rails :
37
39
- 7.1
38
40
- " 7.0"
39
41
- 6.1
40
42
adapter :
41
- - postgres://with_advisory:with_advisory_pass@0/with_advisory_lock_test
43
+ - postgres
42
44
include :
43
45
- ruby : jruby
44
46
rails : 6.1
45
- adapter : jdbcpostgresql://with_advisory:with_advisory_pass@0/with_advisory_lock_test
47
+ adapter : jdbcpostgresql
46
48
steps :
47
49
- name : Checkout
48
50
uses : actions/checkout@v4
57
59
- name : Test
58
60
env :
59
61
BUNDLE_GEMFILE : gemfiles/activerecord_${{ matrix.rails }}.gemfile
60
- DATABASE_URL : ${{ matrix.adapter }}
62
+ DATABASE_URL : ${{ matrix.adapter }}://with_advisory:with_advisory_pass@localhost:${{ job.services.postgres.ports[5432] }}/with_advisory_lock_test
61
63
WITH_ADVISORY_LOCK_PREFIX : ${{ github.run_id }}
62
64
run : bundle exec rake
Original file line number Diff line number Diff line change 1
- ---
2
1
name : CI Sqlite3
3
2
4
3
on :
@@ -13,26 +12,27 @@ concurrency:
13
12
jobs :
14
13
minitest :
15
14
runs-on : ubuntu-latest
15
+ name : CI Sqlite3 Ruby ${{ matrix.ruby }} / Rails ${{ matrix.rails }} / Adapter ${{ matrix.adapter }}
16
16
strategy :
17
17
fail-fast : false
18
18
matrix :
19
19
ruby :
20
- - ' 3.2'
21
- - ' 3.1'
22
- - ' 3.0'
23
- - ' 2.7'
20
+ # - '3.2'
21
+ # - '3.1'
22
+ # - '3.0'
23
+ # - '2.7'
24
24
- ' 3.3'
25
25
- ' truffleruby'
26
26
rails :
27
27
- 7.1
28
28
- " 7.0"
29
29
- 6.1
30
30
adapter :
31
- - sqlite3:///tmp/test.sqlite3
31
+ - sqlite3
32
32
include :
33
33
- ruby : jruby
34
34
rails : 6.1
35
- adapter : jdbcsqlite3:///tmp/test.sqlite3
35
+ adapter : jdbcsqlite3
36
36
steps :
37
37
- name : Checkout
38
38
uses : actions/checkout@v4
49
49
- name : Test
50
50
env :
51
51
BUNDLE_GEMFILE : gemfiles/activerecord_${{ matrix.rails }}.gemfile
52
- DATABASE_URL : ${{ matrix.adapter }}
52
+ DATABASE_URL : ${{ matrix.adapter }}:///tmp/test.sqlite3
53
53
WITH_ADVISORY_LOCK_PREFIX : ${{ github.run_id }}
54
54
run : bundle exec rake
You can’t perform that action at this time.
0 commit comments