Skip to content

Commit 3d547ee

Browse files
committed
Add tests with Redmine 6.1.0
1 parent ef5d168 commit 3d547ee

File tree

4 files changed

+33
-1
lines changed

4 files changed

+33
-1
lines changed

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@
5353
"scripts": {
5454
"bdt": [
5555
"Composer\\Config::disableProcessTimeout",
56+
"@behat --format=progress --suite=redmine_6_1",
5657
"@behat --format=progress --suite=redmine_6_0",
5758
"@behat --format=progress --suite=redmine_5_1",
5859
"@behat --format=progress --suite=redmine_5_0"

docker-compose.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ services:
1111
- ./:/var/www/project/ # Location of the project for php-fpm. Note this should be the same for NGINX.*
1212

1313
redmine-dev:
14-
image: redmine:6.0.7
14+
image: redmine:6.1.0
1515
ports:
1616
- "3000:3000"
1717
environment:
@@ -26,6 +26,19 @@ services:
2626
# Make sure the following services are configured in:
2727
# - /tests/Behat/behat.yml
2828

29+
redmine-6-1:
30+
image: redmine:6.1.0
31+
ports:
32+
- "5061:3000"
33+
environment:
34+
# Workaround: Remove secret for Rails 7.2 so it will be generated automatically
35+
# @see https://github.com/docker-library/redmine/issues/349#issuecomment-2516634932
36+
# REDMINE_SECRET_KEY_BASE: supersecretkey
37+
REDMINE_PLUGINS_MIGRATE: true
38+
volumes:
39+
- ./.docker/redmine-60100_data/files:/usr/src/redmine/files
40+
- ./.docker/redmine-60100_data/sqlite:/usr/src/redmine/sqlite
41+
2942
redmine-6-0:
3043
image: redmine:6.0.7
3144
ports:

tests/Behat/behat.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@ default:
33
default:
44
paths:
55
- '%paths.base%/features'
6+
redmine_6_1:
7+
contexts:
8+
- Redmine\Tests\Behat\Bootstrap\FeatureContext:
9+
redmineVersion: '6.1.0'
10+
rootPath: '%paths.base%/../../.docker'
611
redmine_6_0:
712
contexts:
813
- Redmine\Tests\Behat\Bootstrap\FeatureContext:
@@ -21,6 +26,11 @@ default:
2126

2227
github-actions:
2328
suites:
29+
redmine_6_1:
30+
contexts:
31+
- Redmine\Tests\Behat\Bootstrap\FeatureContext:
32+
redmineVersion: '6.1.0'
33+
rootPath: '/home/runner/work/_temp'
2434
redmine_6_0:
2535
contexts:
2636
- Redmine\Tests\Behat\Bootstrap\FeatureContext:

tests/RedmineExtension/RedmineVersion.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,14 @@
66

77
enum RedmineVersion: string
88
{
9+
/**
10+
* Redmine 6.1.0
11+
*
12+
* @link https://www.redmine.org/versions/198
13+
* @link https://www.redmine.org/projects/redmine/wiki/Changelog_6_1#610-2025-09-21
14+
*/
15+
case V6_1_0 = '6.1.0';
16+
917
/**
1018
* Redmine 6.0.7
1119
*

0 commit comments

Comments
 (0)