Skip to content

Commit

Permalink
Update CI Config to fix randomly failing tests in Redmine 5.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
nanego committed Mar 19, 2024
1 parent 529e124 commit 894a4dc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/5_1_2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,10 @@ jobs:
- name: Prepare Redmine source
working-directory: redmine
run: |
# Add missing :groups_users fixture to API tests
sed -i='' 's/^ fixtures :users/&, :groups_users/' test/integration/api_test/users_test.rb # TODO: remove next line when fixed in Redmine core
# Fix routes broken by Redmine core plugins tests
rm -f test/integration/routing/plugins_test.rb # Fix routing tests # TODO Remove this line when https://www.redmine.org/issues/38707 is fixed
sed -i '/rubocop/d' Gemfile
rm -f .rubocop*
cp plugins/redmine_base_rspec/spec/support/database-${{ matrix.db }}.yml config/database.yml
Expand Down

0 comments on commit 894a4dc

Please sign in to comment.