Skip to content

Commit 421a929

Browse files
committed
feat: add vendored_behat_path to workflow action
1 parent b4fe48d commit 421a929

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- { php: 7.4, phpunit: 9 }
1414
- { php: 8.0, phpunit: 10 }
1515
- { php: 8.1, phpunit: 10 }
16-
- { php: 8.2, phpunit: 10 }
16+
- { php: 8.2, phpunit: 10, main: true }
1717
- { php: 8.3, phpunit: 10, experimental: true }
1818

1919
steps:
@@ -47,7 +47,7 @@ jobs:
4747
version: "${{ matrix.env.phpunit }}"
4848
configuration: "phpunit.xml"
4949
- name: "Code Coverage Report"
50-
if: "matrix.env.php == '8.2' && github.event_name == 'pull_request'"
50+
if: "matrix.env.main == true && github.event_name == 'pull_request'"
5151
uses: irongut/CodeCoverageSummary@v1.3.0
5252
with:
5353
filename: cobertura.xml
@@ -60,7 +60,7 @@ jobs:
6060
output: both
6161
thresholds: '60 80'
6262
- name: Add Coverage PR Comment
63-
if: "matrix.env.php == '8.2' && github.event_name == 'pull_request'"
63+
if: "matrix.env.main == true && github.event_name == 'pull_request'"
6464
uses: marocchino/sticky-pull-request-comment@v2
6565
with:
6666
recreate: true
@@ -70,3 +70,4 @@ jobs:
7070
uses: php-actions/behat@v1.0.1
7171
with:
7272
php_version: "${{ matrix.env.php }}"
73+
vendored_behat_path: vendor/bin/behat

0 commit comments

Comments
 (0)