diff --git a/.github/workflows/4_2_11.yml b/.github/workflows/4_2_11.yml index 05526d9..078a4ae 100644 --- a/.github/workflows/4_2_11.yml +++ b/.github/workflows/4_2_11.yml @@ -89,6 +89,8 @@ jobs: - name: Prepare Redmine source working-directory: redmine run: | + # TODO Remove the following line when https://www.redmine.org/issues/40551 is fixed + 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 diff --git a/.github/workflows/5_1_1.yml b/.github/workflows/5_1_2.yml similarity index 94% rename from .github/workflows/5_1_1.yml rename to .github/workflows/5_1_2.yml index 56b121c..25d3d55 100644 --- a/.github/workflows/5_1_1.yml +++ b/.github/workflows/5_1_2.yml @@ -1,8 +1,8 @@ -name: Tests 5.1.1 +name: Tests 5.1.2 env: PLUGIN_NAME: redmine_angular_ui - REDMINE_VERSION: 5.1.1 + REDMINE_VERSION: 5.1.2 RAILS_ENV: test on: @@ -16,7 +16,7 @@ jobs: strategy: matrix: - ruby: ['3.1'] + ruby: ['3.2'] db: ['postgres'] fail-fast: false @@ -89,6 +89,8 @@ jobs: - name: Prepare Redmine source working-directory: redmine run: | + # TODO Remove the following line when https://www.redmine.org/issues/40551 is fixed + sed -i -e 's/.*mocha.*/ gem "mocha", "2.1.0"/' Gemfile # Fix core tests not compatible with Mocha 2.2.0 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* diff --git a/README.md b/README.md index 5a5b67c..f5e6ea3 100644 --- a/README.md +++ b/README.md @@ -18,11 +18,11 @@ Test status | Plugin branch | Redmine Version | Test Status | |---------------|-----------------|-------------------| -| master | 5.1.1 | [![5.1.1][1]][5] | +| master | 5.1.2 | [![5.1.2][1]][5] | | master | 4.2.11 | [![4.2.11][2]][5] | | master | master | [![master][4]][5] | -[1]: https://github.com/nanego/redmine_angular_ui/actions/workflows/5_1_1.yml/badge.svg +[1]: https://github.com/nanego/redmine_angular_ui/actions/workflows/5_1_2.yml/badge.svg [2]: https://github.com/nanego/redmine_angular_ui/actions/workflows/4_2_11.yml/badge.svg [4]: https://github.com/nanego/redmine_angular_ui/actions/workflows/master.yml/badge.svg [5]: https://github.com/nanego/redmine_angular_ui/actions