From 81eba959d1b40ef9cd09069749cb447e5387fb1e Mon Sep 17 00:00:00 2001 From: Vincent Robert Date: Thu, 6 Jul 2023 16:27:03 +0200 Subject: [PATCH] Update CI config: keep using rails-dom-testing gem version 2.0.3 for now --- .github/workflows/4_2_10.yml | 2 ++ .github/workflows/5_0_5.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/4_2_10.yml b/.github/workflows/4_2_10.yml index b641ef0..838a206 100644 --- a/.github/workflows/4_2_10.yml +++ b/.github/workflows/4_2_10.yml @@ -86,9 +86,11 @@ jobs: repository: jbbarth/redmine_base_rspec path: redmine/plugins/redmine_base_rspec + # Stay on rails-dom-testing gem version "2.0.3", because "2.1.1" is not fully compatible with Redmine 4.2.10 - TODO Remove this when Redmine 4.2.11 is released - name: Prepare Redmine source working-directory: redmine run: | + sed -i -e 's/.*rails-dom-testing.*/ gem "rails-dom-testing", "~> 2.0.3"/' Gemfile sed -i '/rubocop/d' Gemfile rm -f .rubocop* cp plugins/redmine_base_rspec/spec/support/database-${{ matrix.db }}.yml config/database.yml diff --git a/.github/workflows/5_0_5.yml b/.github/workflows/5_0_5.yml index 81da87c..3df2fcf 100644 --- a/.github/workflows/5_0_5.yml +++ b/.github/workflows/5_0_5.yml @@ -86,9 +86,11 @@ jobs: repository: jbbarth/redmine_base_rspec path: redmine/plugins/redmine_base_rspec + # Stay on rails-dom-testing gem version "2.0.3", because "2.1.1" is not fully compatible with Redmine 4.2.10 - TODO Remove this when Redmine 4.2.11 is released - name: Prepare Redmine source working-directory: redmine run: | + sed -i -e 's/.*rails-dom-testing.*/ gem "rails-dom-testing", "~> 2.0.3"/' Gemfile sed -i '/rubocop/d' Gemfile rm -f .rubocop* cp plugins/redmine_base_rspec/spec/support/database-${{ matrix.db }}.yml config/database.yml