From d788d4bec9ab22d86934dd97a572faf1620f515a Mon Sep 17 00:00:00 2001 From: Jon Rowe Date: Thu, 20 Jun 2024 22:13:12 +0100 Subject: [PATCH 1/3] Store coverage artifacts --- ci/.github/workflows/ci.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/ci/.github/workflows/ci.yml b/ci/.github/workflows/ci.yml index 2aae90f..c87bcec 100644 --- a/ci/.github/workflows/ci.yml +++ b/ci/.github/workflows/ci.yml @@ -80,6 +80,13 @@ jobs: - run: bundle install --standalone - run: bundle binstubs --all - run: script/run_build + - name: Store coverage output for reference + uses: actions/upload-artifact@v4 + if: failure() + with: + name: coverage-report-${{ matrix.ruby }} + path: coverage/index.html + retention-days: 14 legacy: name: Legacy Ruby Builds (${{ matrix.container.version }}) From eeeb1901ec8e11989a48aabd4752ba5e1345ad8f Mon Sep 17 00:00:00 2001 From: Jon Rowe Date: Thu, 20 Jun 2024 22:13:57 +0100 Subject: [PATCH 2/3] Skip coverage checks on legacy ruby --- ci/.github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/ci/.github/workflows/ci.yml b/ci/.github/workflows/ci.yml index c87bcec..b3f7f6a 100644 --- a/ci/.github/workflows/ci.yml +++ b/ci/.github/workflows/ci.yml @@ -127,6 +127,7 @@ jobs: env: LEGACY_CI: true JRUBY_OPTS: ${{ matrix.container.jruby_opts || '--dev' }} + NO_COVERAGE: true steps: - uses: actions/checkout@v3 - run: ${{ matrix.container.pre }} From beb322882427072f1b9435a82f26afa6094a172d Mon Sep 17 00:00:00 2001 From: Jon Rowe Date: Tue, 9 Jul 2024 07:49:55 +0200 Subject: [PATCH 3/3] Allow legacy builds to use older node --- ci/.github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/ci/.github/workflows/ci.yml b/ci/.github/workflows/ci.yml index b3f7f6a..54f7bbe 100644 --- a/ci/.github/workflows/ci.yml +++ b/ci/.github/workflows/ci.yml @@ -125,6 +125,7 @@ jobs: tag: ghcr.io/rspec/docker-ci:jruby-9.1.17.0 options: "--add-host rubygems.org:151.101.129.227 --add-host api.rubygems.org:151.101.129.227" env: + ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true LEGACY_CI: true JRUBY_OPTS: ${{ matrix.container.jruby_opts || '--dev' }} NO_COVERAGE: true