Skip to content

Commit 70f4ef6

Browse files
committed
chore: update test matrix
1 parent eae8203 commit 70f4ef6

File tree

5 files changed

+21
-19
lines changed

5 files changed

+21
-19
lines changed

.github/workflows/rubocop.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ jobs:
1313
build:
1414
name: Rubocop
1515
runs-on: ${{ matrix.os }}
16+
env:
17+
BUNDLER_VERSION: 2.3.22
1618
strategy:
1719
matrix:
1820
os: [ubuntu-latest]

.github/workflows/test.yml

Lines changed: 12 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -19,24 +19,22 @@ jobs:
1919
matrix:
2020
os: [ubuntu-latest]
2121
ruby: [
22-
"3.0",
23-
"3.1"
22+
"3.4.5"
2423
]
2524
gemfile: [
26-
"Gemfile-rails.6.1.x",
27-
"Gemfile-rails.7.0.x"
25+
"Gemfile-rails.8.0.x"
2826
]
2927
experimental: [false]
3028
include:
3129
- ruby: "2.7"
3230
os: ubuntu-latest
3331
gemfile: Gemfile-rails.6.1.x
3432
experimental: false
35-
- ruby: "3.2"
33+
- ruby: "3.3"
3634
os: ubuntu-latest
37-
gemfile: Gemfile-rails.7.0.x
35+
gemfile: Gemfile-rails.7.2.x
3836
experimental: false
39-
- ruby: "3.2"
37+
- ruby: "4.0"
4038
os: ubuntu-latest
4139
gemfile: Gemfile-rails-edge
4240
experimental: true
@@ -52,19 +50,16 @@ jobs:
5250
ruby-version: ${{ matrix.ruby }}
5351
bundler-cache: true
5452

55-
- name: Setup Code Climate test-reporter
56-
run: |
57-
curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
58-
chmod +x ./cc-test-reporter
59-
./cc-test-reporter before-build
60-
6153
- name: Run tests
6254
run: bin/rspec
6355

64-
- name: Upload code coverage to Code Climate
65-
run: |
66-
export GIT_BRANCH="${GITHUB_REF/refs\/heads\//}"
67-
./cc-test-reporter after-build -r ${{secrets.CC_TEST_REPORTER_ID}}
56+
- name: Upload code coverage to qlty
57+
if: ${{ contains(github.ref, 'main') }}
58+
uses: qltysh/qlty-action/coverage@v1
59+
with:
60+
token: ${{ secrets.QLTY_COVERAGE_TOKEN }}
61+
files: coverage/.resultset.json
62+
format: simplecov
6863

6964
- name: Upload coverage results to GitHub
7065
uses: actions/upload-artifact@main

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,4 +310,4 @@ DEPENDENCIES
310310
sqlite3
311311

312312
BUNDLED WITH
313-
2.6.9
313+
2.3.22
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ require_relative "base"
22

33
eval main_gemfile
44

5-
gem 'rails', '~> 7.0.3'
5+
gem 'rails', '~> 7.2.1'

gemfiles/Gemfile-rails.8.0.x

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
require_relative "base"
2+
3+
eval main_gemfile
4+
5+
gem 'rails', '~> 8.0.4'

0 commit comments

Comments
 (0)