From 4ffd6c988dd208c4026eabf7fb712ae69376a895 Mon Sep 17 00:00:00 2001 From: Jon Rowe Date: Thu, 20 Jun 2024 22:22:25 +0100 Subject: [PATCH] Updated ci build scripts (from rspec-dev) main --- .github/dependabot.yml | 2 +- .github/workflows/ci.yml | 10 +++++++++- .rubocop_rspec_base.yml | 2 +- script/ci_functions.sh | 2 +- script/clone_all_rspec_repos | 2 +- script/cucumber.sh | 2 +- script/functions.sh | 2 +- script/legacy_setup.sh | 2 +- script/predicate_functions.sh | 2 +- script/run_build | 2 +- script/run_rubocop | 2 +- script/update_rubygems_and_install_bundler | 2 +- 12 files changed, 20 insertions(+), 12 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 81efa1dfb..5b004300f 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,4 +1,4 @@ -# This file was generated on 2024-02-23T14:21:35+00:00 from the rspec-dev repo. +# This file was generated on 2024-06-20T22:22:25+01:00 from the rspec-dev repo. # DO NOT modify it by hand as your changes will get lost the next time it is generated. version: 2 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d472fddcb..560e9ee1a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,4 +1,4 @@ -# This file was generated on 2024-02-23T14:21:35+00:00 from the rspec-dev repo. +# This file was generated on 2024-06-20T22:22:25+01:00 from the rspec-dev repo. # DO NOT modify it by hand as your changes will get lost the next time it is generated. name: RSpec CI @@ -83,6 +83,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 }}) @@ -123,6 +130,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 }} diff --git a/.rubocop_rspec_base.yml b/.rubocop_rspec_base.yml index 83f37f2af..7891434a3 100644 --- a/.rubocop_rspec_base.yml +++ b/.rubocop_rspec_base.yml @@ -1,4 +1,4 @@ -# This file was generated on 2024-02-23T14:21:35+00:00 from the rspec-dev repo. +# This file was generated on 2024-06-20T22:22:25+01:00 from the rspec-dev repo. # DO NOT modify it by hand as your changes will get lost the next time it is generated. # This file contains defaults for RSpec projects. Individual projects diff --git a/script/ci_functions.sh b/script/ci_functions.sh index 6dd3fd72f..cb6cdd615 100644 --- a/script/ci_functions.sh +++ b/script/ci_functions.sh @@ -1,4 +1,4 @@ -# This file was generated on 2024-02-23T14:21:35+00:00 from the rspec-dev repo. +# This file was generated on 2024-06-20T22:22:25+01:00 from the rspec-dev repo. # DO NOT modify it by hand as your changes will get lost the next time it is generated. # Taken from: diff --git a/script/clone_all_rspec_repos b/script/clone_all_rspec_repos index 7825e6a8e..3f9e6e91c 100755 --- a/script/clone_all_rspec_repos +++ b/script/clone_all_rspec_repos @@ -1,5 +1,5 @@ #!/bin/bash -# This file was generated on 2024-02-23T14:21:35+00:00 from the rspec-dev repo. +# This file was generated on 2024-06-20T22:22:25+01:00 from the rspec-dev repo. # DO NOT modify it by hand as your changes will get lost the next time it is generated. set -e diff --git a/script/cucumber.sh b/script/cucumber.sh index c6380e58c..fb052a96d 100755 --- a/script/cucumber.sh +++ b/script/cucumber.sh @@ -1,5 +1,5 @@ #!/bin/bash -# This file was generated on 2024-02-23T14:21:35+00:00 from the rspec-dev repo. +# This file was generated on 2024-06-20T22:22:25+01:00 from the rspec-dev repo. # DO NOT modify it by hand as your changes will get lost the next time it is generated. set -e diff --git a/script/functions.sh b/script/functions.sh index c224e9ce3..c62712f7a 100644 --- a/script/functions.sh +++ b/script/functions.sh @@ -1,4 +1,4 @@ -# This file was generated on 2024-02-23T14:21:35+00:00 from the rspec-dev repo. +# This file was generated on 2024-06-20T22:22:25+01:00 from the rspec-dev repo. # DO NOT modify it by hand as your changes will get lost the next time it is generated. SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" diff --git a/script/legacy_setup.sh b/script/legacy_setup.sh index 832e36593..a12edf37e 100755 --- a/script/legacy_setup.sh +++ b/script/legacy_setup.sh @@ -1,5 +1,5 @@ #!/bin/bash -# This file was generated on 2024-02-23T14:21:35+00:00 from the rspec-dev repo. +# This file was generated on 2024-06-20T22:22:25+01:00 from the rspec-dev repo. # DO NOT modify it by hand as your changes will get lost the next time it is generated. set -e diff --git a/script/predicate_functions.sh b/script/predicate_functions.sh index 6cf0aefd3..5f173ef97 100644 --- a/script/predicate_functions.sh +++ b/script/predicate_functions.sh @@ -1,4 +1,4 @@ -# This file was generated on 2024-02-23T14:21:35+00:00 from the rspec-dev repo. +# This file was generated on 2024-06-20T22:22:25+01:00 from the rspec-dev repo. # DO NOT modify it by hand as your changes will get lost the next time it is generated. function is_mri { diff --git a/script/run_build b/script/run_build index 9d00141b0..cb835c9cd 100755 --- a/script/run_build +++ b/script/run_build @@ -1,5 +1,5 @@ #!/bin/bash -# This file was generated on 2024-02-23T14:21:35+00:00 from the rspec-dev repo. +# This file was generated on 2024-06-20T22:22:25+01:00 from the rspec-dev repo. # DO NOT modify it by hand as your changes will get lost the next time it is generated. set -e diff --git a/script/run_rubocop b/script/run_rubocop index df44d911b..a826df65b 100755 --- a/script/run_rubocop +++ b/script/run_rubocop @@ -1,5 +1,5 @@ #!/bin/bash -# This file was generated on 2024-02-23T14:21:35+00:00 from the rspec-dev repo. +# This file was generated on 2024-06-20T22:22:25+01:00 from the rspec-dev repo. # DO NOT modify it by hand as your changes will get lost the next time it is generated. set -e diff --git a/script/update_rubygems_and_install_bundler b/script/update_rubygems_and_install_bundler index 1983cb478..afe308a0b 100755 --- a/script/update_rubygems_and_install_bundler +++ b/script/update_rubygems_and_install_bundler @@ -1,5 +1,5 @@ #!/bin/bash -# This file was generated on 2024-02-23T14:21:35+00:00 from the rspec-dev repo. +# This file was generated on 2024-06-20T22:22:25+01:00 from the rspec-dev repo. # DO NOT modify it by hand as your changes will get lost the next time it is generated. set -e