Skip to content

Commit 696193e

Browse files
committed
👷 Normalize coverage and current workflows
1 parent b96ef7a commit 696193e

File tree

2 files changed

+6
-9
lines changed

2 files changed

+6
-9
lines changed

.github/workflows/coverage.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ concurrency:
3030

3131
jobs:
3232
test:
33-
name: Specs with Coverage ${{ matrix.ruby }} ${{ matrix.name_extra || '' }}
33+
name: Specs with Coverage ${{ matrix.ruby }}
3434
if: "!contains(github.event.commits[0].message, '[ci skip]') && !contains(github.event.commits[0].message, '[skip ci]')"
3535
runs-on: ubuntu-latest
3636
continue-on-error: ${{ matrix.experimental || endsWith(matrix.ruby, 'head') }}
@@ -41,7 +41,7 @@ jobs:
4141
matrix:
4242
include:
4343
# Coverage
44-
- ruby: "ruby-3.4"
44+
- ruby: "ruby"
4545
appraisal: "coverage"
4646
exec_cmd: "rake spec"
4747
gemfile: "Appraisal.root"
@@ -74,11 +74,11 @@ jobs:
7474
# Raw `bundle` will use the BUNDLE_GEMFILE set to matrix.gemfile (i.e. Appraisal.root)
7575
# We need to do this first to get appraisal installed.
7676
# NOTE: This does not use the main Gemfile at all.
77-
- name: Bundle install for Appraisal ${{ matrix.appraisal }}
77+
- name: Install Root Appraisal
7878
run: bundle
79-
- name: Install Appraisal ${{ matrix.appraisal }} dependencies
79+
- name: Appraisal for ${{ matrix.appraisal }}
8080
run: bundle exec appraisal ${{ matrix.appraisal }} bundle
81-
- name: Run ${{ matrix.appraisal }} tests via ${{ matrix.exec_cmd }}
81+
- name: Tests for ${{ matrix.ruby }}@current via ${{ matrix.exec_cmd }}
8282
run: bundle exec appraisal ${{ matrix.appraisal }} bundle exec ${{ matrix.exec_cmd }}
8383

8484
- name: CodeClimate Post-build Notification

.github/workflows/current.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ jobs:
4343
gemfile: "Appraisal.root"
4444
rubygems: latest
4545
bundler: latest
46-
name_extra: "ruby-3.4" # NOTE: This will become out of date!
4746

4847
# truffleruby-24.1 (targets Ruby 3.3.5 compatibility)
4948
- ruby: "truffleruby"
@@ -52,7 +51,6 @@ jobs:
5251
gemfile: "Appraisal.root"
5352
rubygems: default
5453
bundler: default
55-
name_extra: "truffleruby-24.1" # NOTE: This will become out of date!
5654

5755
# jruby-9.4 (targets Ruby 3.1 compatibility)
5856
- ruby: "jruby"
@@ -61,7 +59,6 @@ jobs:
6159
gemfile: "Appraisal.root"
6260
rubygems: default
6361
bundler: default
64-
name_extra: "jruby-9.4" # NOTE: This will become out of date!
6562

6663
steps:
6764
- name: Checkout
@@ -82,5 +79,5 @@ jobs:
8279
run: bundle
8380
- name: Appraisal for ${{ matrix.ruby }}@${{ matrix.appraisal }}
8481
run: bundle exec appraisal ${{ matrix.appraisal }} bundle
85-
- name: Tests for ${{ matrix.ruby }}@${{ matrix.appraisal }} (${{ matrix.name_extra }}?) via ${{ matrix.exec_cmd }}
82+
- name: Tests for ${{ matrix.ruby }}@${{ matrix.appraisal }} via ${{ matrix.exec_cmd }}
8683
run: bundle exec appraisal ${{ matrix.appraisal }} bundle exec ${{ matrix.exec_cmd }}

0 commit comments

Comments
 (0)