Skip to content

Commit

Permalink
Update CI config: add latest Redmine version
Browse files Browse the repository at this point in the history
  • Loading branch information
nanego committed Jun 25, 2024
1 parent d685ebc commit cf2be25
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/4_2_11.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,11 @@ jobs:
- name: Prepare Redmine source
working-directory: redmine
run: |
sed -i -e 's/.*mocha.*/ gem "mocha", "2.1.0"/' Gemfile # Fix core tests not compatible with Mocha 2.2.0
sed -i '/rubocop/d' Gemfile
rm -f .rubocop*
cp plugins/redmine_base_rspec/spec/support/database-${{ matrix.db }}.yml config/database.yml
echo 'gem "builder", "~> 3.2.4"' >> Gemfile
- name: Install Ruby dependencies
working-directory: redmine
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/5_0_6.yml → .github/workflows/5_1_3.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: Tests 5.0.6
name: Tests 5.1.3

env:
PLUGIN_NAME: redmine_hide_sidebar
REDMINE_VERSION: 5.0.6
REDMINE_VERSION: 5.1.3
RAILS_ENV: test

on:
Expand All @@ -16,7 +16,7 @@ jobs:

strategy:
matrix:
ruby: ['2.7']
ruby: ['3.2']
db: ['postgres']
fail-fast: false

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:

strategy:
matrix:
ruby: ['2.7']
ruby: ['3.2']
db: ['postgres']
fail-fast: false

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ Redmine:

|Plugin branch| Redmine Version | Test Status |
|-------------|-----------------|-------------------|
|master | 5.0.6 | [![5.0.6][1]][5] |
|master | 5.1.3 | [![5.1.3][1]][5] |
|master | 4.2.11 | [![4.2.11][2]][5] |
|master | master | [![master][4]][5] |

[1]: https://github.com/nanego/redmine_hide_sidebar/actions/workflows/5_0_6.yml/badge.svg
[1]: https://github.com/nanego/redmine_hide_sidebar/actions/workflows/5_1_3.yml/badge.svg
[2]: https://github.com/nanego/redmine_hide_sidebar/actions/workflows/4_2_11.yml/badge.svg
[4]: https://github.com/nanego/redmine_hide_sidebar/actions/workflows/master.yml/badge.svg
[5]: https://github.com/nanego/redmine_hide_sidebar/actions
Expand Down

0 comments on commit cf2be25

Please sign in to comment.