From 9d799d40ba9b7428dc4bbf3246e44399129913f9 Mon Sep 17 00:00:00 2001 From: Matt Jankowski Date: Fri, 3 Nov 2023 10:58:33 -0400 Subject: [PATCH] Reduce CI job matrix job count (#27660) --- .github/workflows/test-ruby.yml | 8 +------- Gemfile | 3 --- Gemfile.lock | 2 -- 3 files changed, 1 insertion(+), 12 deletions(-) diff --git a/.github/workflows/test-ruby.yml b/.github/workflows/test-ruby.yml index 66627f9cd3..07fd25fb1b 100644 --- a/.github/workflows/test-ruby.yml +++ b/.github/workflows/test-ruby.yml @@ -105,7 +105,6 @@ jobs: SAML_ENABLED: true CAS_ENABLED: true BUNDLE_WITH: 'pam_authentication test' - CI_JOBS: ${{ matrix.ci_job }}/4 GITHUB_RSPEC: ${{ matrix.ruby-version == '.ruby-version' && github.event.pull_request && 'true' }} strategy: @@ -115,11 +114,6 @@ jobs: - '3.0' - '3.1' - '.ruby-version' - ci_job: - - 1 - - 2 - - 3 - - 4 steps: - uses: actions/checkout@v4 @@ -141,7 +135,7 @@ jobs: - name: Load database schema run: './bin/rails db:create db:schema:load db:seed' - - run: bundle exec rake rspec_chunked + - run: bin/rspec test-e2e: name: End to End testing diff --git a/Gemfile b/Gemfile index c208824b49..04874debd5 100644 --- a/Gemfile +++ b/Gemfile @@ -103,9 +103,6 @@ gem 'rdf-normalize', '~> 0.5' gem 'private_address_check', '~> 0.5' group :test do - # Used to split testing into chunks in CI - gem 'rspec_chunked', '~> 0.6' - # Adds RSpec Error/Warning annotations to GitHub PRs on the Files tab gem 'rspec-github', '~> 2.4', require: false diff --git a/Gemfile.lock b/Gemfile.lock index fa0d988b77..4ebc600829 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -648,7 +648,6 @@ GEM rspec-mocks (~> 3.0) sidekiq (>= 5, < 8) rspec-support (3.12.1) - rspec_chunked (0.6) rubocop (1.57.1) base64 (~> 0.1.1) json (~> 2.3) @@ -919,7 +918,6 @@ DEPENDENCIES rspec-github (~> 2.4) rspec-rails (~> 6.0) rspec-sidekiq (~> 4.0) - rspec_chunked (~> 0.6) rubocop rubocop-capybara rubocop-performance