From 5f6db5205e863b5af4e98edb8c1d94757d14069b Mon Sep 17 00:00:00 2001 From: Jon Rowe Date: Thu, 20 Jun 2024 22:22:26 +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 80662e54..199349f3 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,4 +1,4 @@ -# This file was generated on 2024-02-23T14:21:37+00:00 from the rspec-dev repo. +# This file was generated on 2024-06-20T22:22:26+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 22e8d75c..58081f80 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,4 +1,4 @@ -# This file was generated on 2024-02-23T14:21:37+00:00 from the rspec-dev repo. +# This file was generated on 2024-06-20T22:22:26+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 bc9feb87..1cf341bc 100644 --- a/.rubocop_rspec_base.yml +++ b/.rubocop_rspec_base.yml @@ -1,4 +1,4 @@ -# This file was generated on 2024-02-23T14:21:37+00:00 from the rspec-dev repo. +# This file was generated on 2024-06-20T22:22:26+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 5d21e880..72af6ca3 100644 --- a/script/ci_functions.sh +++ b/script/ci_functions.sh @@ -1,4 +1,4 @@ -# This file was generated on 2024-02-23T14:21:37+00:00 from the rspec-dev repo. +# This file was generated on 2024-06-20T22:22:26+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 cd4589fa..e8c52d32 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:37+00:00 from the rspec-dev repo. +# This file was generated on 2024-06-20T22:22:26+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 e4055c4d..f6c257ff 100755 --- a/script/cucumber.sh +++ b/script/cucumber.sh @@ -1,5 +1,5 @@ #!/bin/bash -# This file was generated on 2024-02-23T14:21:37+00:00 from the rspec-dev repo. +# This file was generated on 2024-06-20T22:22:26+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 629e1570..f616af3c 100644 --- a/script/functions.sh +++ b/script/functions.sh @@ -1,4 +1,4 @@ -# This file was generated on 2024-02-23T14:21:37+00:00 from the rspec-dev repo. +# This file was generated on 2024-06-20T22:22:26+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 c68c3555..5baa6a4e 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:37+00:00 from the rspec-dev repo. +# This file was generated on 2024-06-20T22:22:26+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 1178f256..f62c80f4 100644 --- a/script/predicate_functions.sh +++ b/script/predicate_functions.sh @@ -1,4 +1,4 @@ -# This file was generated on 2024-02-23T14:21:37+00:00 from the rspec-dev repo. +# This file was generated on 2024-06-20T22:22:26+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 a16987b6..806e1122 100755 --- a/script/run_build +++ b/script/run_build @@ -1,5 +1,5 @@ #!/bin/bash -# This file was generated on 2024-02-23T14:21:37+00:00 from the rspec-dev repo. +# This file was generated on 2024-06-20T22:22:26+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 da4cb34d..08ba5e1c 100755 --- a/script/run_rubocop +++ b/script/run_rubocop @@ -1,5 +1,5 @@ #!/bin/bash -# This file was generated on 2024-02-23T14:21:37+00:00 from the rspec-dev repo. +# This file was generated on 2024-06-20T22:22:26+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 0c37e4b3..458508c8 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:37+00:00 from the rspec-dev repo. +# This file was generated on 2024-06-20T22:22:26+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