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 2121 matrix :
2222 ruby :
2323 - 3.4.1
24- - 3.3.6
25- - 3.2.6
24+ # - 3.3.6
25+ # - 3.2.6
2626
2727 steps :
2828 - name : Checkout code
@@ -34,17 +34,26 @@ jobs:
3434 - name : Run tests
3535 run : docker compose run ci
3636
37+
3738 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+
4051 steps :
41- - uses : actions/checkout@v4
52+ - name : Checkout code
53+ uses : actions/checkout@v2
4254
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 }}
4757
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:
1212 command : wait-for sqlserver:1433 -- bundle exec rake test
1313 depends_on :
1414 - " 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