Skip to content

Commit c271fac

Browse files
committed
define temp folder and behat profile for github actions
1 parent cc11fed commit c271fac

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ jobs:
8181
uses: "ramsey/composer-install@v2"
8282

8383
- name: Run behat
84-
run: vendor/bin/behat --config tests/Behat/behat.yml --suite=redmine_60002
84+
run: vendor/bin/behat --config tests/Behat/behat.yml --profile=github-actions --suite=redmine_60002
8585

8686
code-quality:
8787
name: Check ${{ matrix.tool }} (PHP ${{ matrix.php }})

tests/Behat/behat.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,21 @@ default:
1818
- Redmine\Tests\Behat\Bootstrap\FeatureContext:
1919
redmineVersion: '5.0.10'
2020
rootPath: '%paths.base%/../../.docker'
21+
22+
github-actions:
23+
suites:
24+
redmine_60002:
25+
contexts:
26+
- Redmine\Tests\Behat\Bootstrap\FeatureContext:
27+
redmineVersion: '6.0.2'
28+
rootPath: '%paths.base%/../../../.redmine-temp'
29+
redmine_50105:
30+
contexts:
31+
- Redmine\Tests\Behat\Bootstrap\FeatureContext:
32+
redmineVersion: '5.1.5'
33+
rootPath: '%paths.base%/../../../.redmine-temp'
34+
redmine_50010:
35+
contexts:
36+
- Redmine\Tests\Behat\Bootstrap\FeatureContext:
37+
redmineVersion: '5.0.10'
38+
rootPath: '%paths.base%/../../../.redmine-temp'

0 commit comments

Comments
 (0)