diff --git a/.github/workflows/continuous_integration.yml b/.github/workflows/continuous_integration.yml index b4e91c0..fc66193 100644 --- a/.github/workflows/continuous_integration.yml +++ b/.github/workflows/continuous_integration.yml @@ -25,16 +25,28 @@ jobs: runs-on: ${{ matrix.operating-system }} continue-on-error: true + env: + FAIL_ON_LOW_COVERAGE: ${{ matrix.fail_on_low_coverage }} + strategy: fail-fast: false matrix: - ruby: ["3.1", "3.2", "3.3", "jruby-9.4", "truffleruby-24"] + ruby: ["3.1", "3.4"] operating-system: [ubuntu-latest] + fail_on_low_coverage: ["true"] include: + - ruby: "jruby-9.4" + operating-system: ubuntu-latest + fail_on_low_coverage: "false" + - ruby: "truffleruby-24" + operating-system: ubuntu-latest + fail_on_low_coverage: "false" - ruby: "3.1" operating-system: windows-latest + fail_on_low_coverage: "false" - ruby: "jruby-9.4" operating-system: windows-latest + fail_on_low_coverage: "false" steps: - name: Checkout diff --git a/.github/workflows/experimental_ruby_builds.yml b/.github/workflows/experimental_ruby_builds.yml index 574f247..c95821d 100644 --- a/.github/workflows/experimental_ruby_builds.yml +++ b/.github/workflows/experimental_ruby_builds.yml @@ -22,20 +22,28 @@ jobs: runs-on: ${{ matrix.operating-system }} continue-on-error: true + env: + FAIL_ON_LOW_COVERAGE: ${{ matrix.fail_on_low_coverage }} + strategy: fail-fast: false matrix: include: - ruby: head operating-system: ubuntu-latest + fail_on_low_coverage: "true" - ruby: head operating-system: windows-latest + fail_on_low_coverage: "false" - ruby: truffleruby-head operating-system: ubuntu-latest + fail_on_low_coverage: "false" - ruby: jruby-head operating-system: ubuntu-latest + fail_on_low_coverage: "false" - ruby: jruby-head operating-system: windows-latest + fail_on_low_coverage: "false" steps: - name: Checkout diff --git a/exe/revert-github-release b/exe/revert-github-release index ab096ca..3e44e8a 100755 --- a/exe/revert-github-release +++ b/exe/revert-github-release @@ -76,7 +76,7 @@ class Parser COMMAND end - private_constant BANNER = <<~BANNER.freeze + BANNER = <<~BANNER.freeze Usage: #{File.basename($PROGRAM_NAME)} [--help | --version] @@ -96,6 +96,7 @@ class Parser Options: BANNER + private_constant :BANNER # Define the options for OptionParser # @return [void]