Skip to content

Commit 1d75c0f

Browse files
committed
Update CI config: fix incompatibility with latest Mocha gem version
1 parent 8540ee4 commit 1d75c0f

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/4_2_11.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,8 @@ jobs:
8989
- name: Prepare Redmine source
9090
working-directory: redmine
9191
run: |
92+
# TODO Remove the following line when https://www.redmine.org/issues/40551 is fixed
93+
sed -i -e 's/.*mocha.*/ gem "mocha", "2.1.0"/' Gemfile # Fix core tests not compatible with Mocha 2.2.0
9294
sed -i '/rubocop/d' Gemfile
9395
rm -f .rubocop*
9496
cp plugins/redmine_base_rspec/spec/support/database-${{ matrix.db }}.yml config/database.yml

.github/workflows/master.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616

1717
strategy:
1818
matrix:
19-
ruby: ['2.7']
19+
ruby: ['3.2']
2020
db: ['postgres']
2121
fail-fast: false
2222

0 commit comments

Comments
 (0)