Skip to content

Commit

Permalink
Update CI config and add latest Redmine version
Browse files Browse the repository at this point in the history
  • Loading branch information
nanego committed Feb 28, 2024
1 parent 4400e22 commit e9be5cc
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 30 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/4_2_11.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
steps:
- name: Checkout Redmine
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: redmine/redmine
ref: ${{ env.REDMINE_VERSION }}
Expand All @@ -48,7 +48,7 @@ jobs:

- name: Install package dependencies
run: >
sudo apt-get install --yes --quiet
sudo apt-get update && sudo apt-get install --yes --quiet
build-essential
cmake
libicu-dev
Expand Down Expand Up @@ -81,7 +81,7 @@ jobs:
run: gem install bundler -v '~> 1.0'

- name: Checkout dependencies - Base RSpec plugin
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: jbbarth/redmine_base_rspec
path: redmine/plugins/redmine_base_rspec
Expand Down Expand Up @@ -114,19 +114,19 @@ jobs:
bundle exec rails test:scm:setup:subversion
- name: Checkout dependencies - Base Deface plugin
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: jbbarth/redmine_base_deface
path: redmine/plugins/redmine_base_deface

- name: Checkout dependencies - Base StimulusJS plugin
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: nanego/redmine_base_stimulusjs
path: redmine/plugins/redmine_base_stimulusjs

- name: Checkout plugin
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: redmine/plugins/${{ env.PLUGIN_NAME }}

Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/5_0_6.yml → .github/workflows/5_1_1.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: Tests 5.0.6
name: Tests 5.1.1

env:
PLUGIN_NAME: redmine_angular_ui
REDMINE_VERSION: 5.0.6
REDMINE_VERSION: 5.1.1
RAILS_ENV: test

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

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

Expand All @@ -37,7 +37,7 @@ jobs:
steps:
- name: Checkout Redmine
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: redmine/redmine
ref: ${{ env.REDMINE_VERSION }}
Expand All @@ -48,7 +48,7 @@ jobs:

- name: Install package dependencies
run: >
sudo apt-get install --yes --quiet
sudo apt-get update && sudo apt-get install --yes --quiet
build-essential
cmake
libicu-dev
Expand Down Expand Up @@ -81,7 +81,7 @@ jobs:
run: gem install bundler -v '~> 1.0'

- name: Checkout dependencies - Base RSpec plugin
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: jbbarth/redmine_base_rspec
path: redmine/plugins/redmine_base_rspec
Expand Down Expand Up @@ -114,19 +114,19 @@ jobs:
bundle exec rails test:scm:setup:subversion
- name: Checkout dependencies - Base Deface plugin
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: jbbarth/redmine_base_deface
path: redmine/plugins/redmine_base_deface

- name: Checkout dependencies - Base StimulusJS plugin
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: nanego/redmine_base_stimulusjs
path: redmine/plugins/redmine_base_stimulusjs

- name: Checkout plugin
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: redmine/plugins/${{ env.PLUGIN_NAME }}

Expand Down
14 changes: 7 additions & 7 deletions .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 All @@ -37,7 +37,7 @@ jobs:
steps:
- name: Checkout Redmine
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: redmine/redmine
ref: ${{ env.REDMINE_VERSION }}
Expand All @@ -48,7 +48,7 @@ jobs:

- name: Install package dependencies
run: >
sudo apt-get install --yes --quiet
sudo apt-get update && sudo apt-get install --yes --quiet
build-essential
cmake
libicu-dev
Expand Down Expand Up @@ -81,7 +81,7 @@ jobs:
run: gem install bundler -v '~> 1.0'

- name: Checkout dependencies - Base RSpec plugin
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: jbbarth/redmine_base_rspec
path: redmine/plugins/redmine_base_rspec
Expand Down Expand Up @@ -114,19 +114,19 @@ jobs:
bundle exec rails test:scm:setup:subversion
- name: Checkout dependencies - Base Deface plugin
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: jbbarth/redmine_base_deface
path: redmine/plugins/redmine_base_deface

- name: Checkout dependencies - Base StimulusJS plugin
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: nanego/redmine_base_stimulusjs
path: redmine/plugins/redmine_base_stimulusjs

- name: Checkout plugin
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: redmine/plugins/${{ env.PLUGIN_NAME }}

Expand Down
13 changes: 6 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,13 @@ Then :
Test status
----------

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

|Plugin branch| Redmine Version | Test Status |
|-------------|-----------------|------------------|
|master | 5.0.6 | [![5.0.6][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_0_6.yml/badge.svg
[1]: https://github.com/nanego/redmine_angular_ui/actions/workflows/5_1_1.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
2 changes: 1 addition & 1 deletion init.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
name 'Redmine AngularJS User Interface plugin'
author 'Vincent ROBERT'
description 'This plugin for Redmine provides a new user interface based on AngularJS and the Redmine API.'
version '5.0.0'
version '5.1.1'
requires_redmine :version_or_higher => '4.2.0'
# doesn't work since redmine evaluates dependencies as it loads, and loads in lexical order
# TODO: see if it works in Redmine 6.x when they're released
Expand Down

0 comments on commit e9be5cc

Please sign in to comment.