Skip to content

Commit f32c3fc

Browse files
committed
Update CI config: add Redmine 6 and drop support of Redmine 4
1 parent f4e673e commit f32c3fc

File tree

4 files changed

+15
-18
lines changed

4 files changed

+15
-18
lines changed

.github/workflows/5_1_2.yml renamed to .github/workflows/5_1_5.yml

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
name: Tests 5.1.2
1+
name: Tests 5.1.5
22

33
env:
44
PLUGIN_NAME: redmine_customize_core_fields
5-
REDMINE_VERSION: 5.1.2
5+
REDMINE_VERSION: 5.1.5
66
RAILS_ENV: test
77

88
on:
@@ -89,8 +89,6 @@ 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
9492
rm -f test/integration/routing/plugins_test.rb # Fix routing tests # TODO Remove this line when https://www.redmine.org/issues/38707 is fixed
9593
sed -i '/rubocop/d' Gemfile
9694
rm -f .rubocop*

.github/workflows/4_2_11.yml renamed to .github/workflows/6_0_2.yml

+4-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
name: Tests 4.2.11
1+
name: Tests 6.0.2
22

33
env:
44
PLUGIN_NAME: redmine_customize_core_fields
5-
REDMINE_VERSION: 4.2.11
5+
REDMINE_VERSION: 6.0.2
66
RAILS_ENV: test
77

88
on:
@@ -16,7 +16,7 @@ jobs:
1616

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

@@ -89,8 +89,7 @@ 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
92+
rm -f test/integration/routing/plugins_test.rb # Fix routing tests # TODO Remove this line when https://www.redmine.org/issues/38707 is fixed
9493
sed -i '/rubocop/d' Gemfile
9594
rm -f .rubocop*
9695
cp plugins/redmine_base_rspec/spec/support/database-${{ matrix.db }}.yml config/database.yml

.github/workflows/master.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616

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

README.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,14 @@ And finally restart your Redmine instance.
3232
Test status
3333
------------
3434

35-
| Plugin branch | Redmine Version | Test Status |
36-
|---------------|-----------------|--------------------|
37-
| master | 5.1.2 | [![5.1.2][1]][5] |
38-
| master | 4.2.11 | [![4.2.11][2]][5] |
39-
| master | master | [![master][4]][5] |
40-
41-
[1]: https://github.com/nanego/redmine_customize_core_fields/actions/workflows/5_1_2.yml/badge.svg
42-
[2]: https://github.com/nanego/redmine_customize_core_fields/actions/workflows/4_2_11.yml/badge.svg
35+
| Plugin branch | Redmine Version | Test Status |
36+
|---------------|-----------------|-------------------|
37+
| master | 5.1.5 | [![5.1.5][1]][5] |
38+
| master | 6.0.2 | [![6.0.2][2]][5] |
39+
| master | master | [![master][4]][5] |
40+
41+
[1]: https://github.com/nanego/redmine_customize_core_fields/actions/workflows/5_1_5.yml/badge.svg
42+
[2]: https://github.com/nanego/redmine_customize_core_fields/actions/workflows/6_0_2.yml/badge.svg
4343
[4]: https://github.com/nanego/redmine_customize_core_fields/actions/workflows/master.yml/badge.svg
4444
[5]: https://github.com/nanego/redmine_customize_core_fields/actions
4545

0 commit comments

Comments
 (0)