Skip to content

Commit 8499609

Browse files
committed
Update CI
1 parent 275f67f commit 8499609

3 files changed

Lines changed: 6 additions & 17 deletions

File tree

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
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: |

.github/workflows/rspec.yml

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,9 @@ jobs:
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"

docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
services:
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

0 commit comments

Comments
 (0)