Skip to content

Commit b90149a

Browse files
committed
Merge branch '3.3.x' into update-master
2 parents 9b99328 + 0fe9061 commit b90149a

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

.github/workflows/tests.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,14 @@ jobs:
124124

125125
- name: Setup EPV
126126
if: ${{ env.EPV != '0' }}
127-
run: composer require phpbb/epv:dev-master --dev --no-interaction --ignore-platform-reqs
127+
env:
128+
PHP_VERSION: ${{ matrix.php }}
129+
run: |
130+
if [[ "$(printf '%s\n' "$PHP_VERSION" "8.1" | sort -V | head -n1)" == "8.1" ]]; then
131+
composer require phpbb/epv:dev-master --dev --no-interaction --ignore-platform-reqs --with-all-dependencies
132+
else
133+
composer require phpbb/epv:dev-master --dev --no-interaction --ignore-platform-reqs
134+
fi
128135
working-directory: ./phpBB3/phpBB
129136

130137
- name: Run code sniffer

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,16 @@ Use the test-framework branch that matches the phpBB version you're developing f
4949
- Your extension's package contents must be located at the root level of the repository. That is, the repository **must directly represent the package**, with all relevant files such as `composer.json`, `README`, `LICENSE`, etc. placed directly in the **root of the repository**, **not inside a subdirectory within the repository**.
5050
- Tests must be defined in your repository using PHPUnit.
5151

52+
## Status Badges
53+
54+
Display a status badge in your repository to indicate the status of your test results.
55+
56+
![Tests](https://github.com/phpbb/phpbb-ext-acme-demo/actions/workflows/tests.yml/badge.svg)
57+
58+
```md
59+
[![Tests](https://github.com/your-org/your-repo/actions/workflows/tests.yml/badge.svg)](https://github.com/your-org/your-repo/actions/workflows/tests.yml)
60+
```
61+
5262
# Configuration Options
5363

5464
You can fine-tune this workflow with several optional arguments in the `with` section:

0 commit comments

Comments
 (0)