File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99 runs-on : ubuntu-latest
1010
1111 steps :
12- - uses : actions/checkout@v2
12+ - uses : actions/checkout@v6
1313
1414 - name : Publish to RubyGems
1515 run : |
Original file line number Diff line number Diff line change 77 runs-on : ubuntu-latest
88
99 steps :
10- - uses : actions/checkout@v3
10+ - uses : actions/checkout@v6
1111
1212 - name : Run tests
1313 run : |
14- docker-compose up -d
15- docker exec gem_test_runner bash -c "cd gem_src && bundle install && bundle exec rspec"
16-
17- - name : Code Coverage
18- uses : paambaati/codeclimate-action@v5.0.0
19- env :
20- CC_TEST_REPORTER_ID : ${{ secrets.CC_TEST_REPORTER_ID }}
21- with :
22- debug : true
23- coverageLocations : |
24- ${{github.workspace}}/coverage/coverage.json:simplecov
25- prefix : /gem_src
26- verifyDownload : true
14+ docker compose up -d
15+ docker exec gem_test_runner sh -c "cd gem_src && bundle install && bundle exec rspec"
Original file line number Diff line number Diff line change 11services :
22 gem_test_runner :
3- image : ruby:2.7.8-bullseye
3+ image : ruby:4-alpine
44 container_name : gem_test_runner
55 command : bash -c "while true; do echo 'Container is running...'; sleep 2; done"
66 volumes :
7- - ./:/gem_src
7+ - ./:/gem_src
You can’t perform that action at this time.
0 commit comments