File tree Expand file tree Collapse file tree 2 files changed +28
-12
lines changed Expand file tree Collapse file tree 2 files changed +28
-12
lines changed Original file line number Diff line number Diff line change 21
21
matrix :
22
22
ruby :
23
23
- 3.4.1
24
- - 3.3.6
25
- - 3.2.6
24
+ # - 3.3.6
25
+ # - 3.2.6
26
26
27
27
steps :
28
28
- name : Checkout code
@@ -34,17 +34,26 @@ jobs:
34
34
- name : Run tests
35
35
run : docker compose run ci
36
36
37
+
37
38
standardrb :
38
- name : standardrb
39
- runs-on : ubuntu-22.04
39
+ name : Run standardrb
40
+ runs-on : ubuntu-20.04 # TODO: Change back to 'ubuntu-latest' when https://github.com/microsoft/mssql-docker/issues/899 resolved.
41
+
42
+ env :
43
+ COMPOSE_FILE : compose.ci.yaml
44
+
45
+ strategy :
46
+ fail-fast : false
47
+ matrix :
48
+ ruby :
49
+ - 3.4.1
50
+
40
51
steps :
41
- - uses : actions/checkout@v4
52
+ - name : Checkout code
53
+ uses : actions/checkout@v2
42
54
43
- - uses : ruby/setup-ruby@v1
44
- with :
45
- ruby-version : " 3.4.1"
46
- bundler-cache : true
55
+ - name : Build docker images
56
+ run : docker compose build --build-arg TARGET_VERSION=${{ matrix.ruby }}
47
57
48
- - name : Check standardrb
49
- shell : bash
50
- run : bundle exec standardrb
58
+ - name : Run tests
59
+ run : docker compose run standardrb
Original file line number Diff line number Diff line change @@ -12,3 +12,10 @@ services:
12
12
command : wait-for sqlserver:1433 -- bundle exec rake test
13
13
depends_on :
14
14
- " sqlserver"
15
+ standardrb :
16
+ environment :
17
+ - RAILS_BRANCH=main
18
+ build :
19
+ context : .
20
+ dockerfile : Dockerfile.ci
21
+ command : bundle exec standardrb
You can’t perform that action at this time.
0 commit comments