You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+21-23Lines changed: 21 additions & 23 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,9 +2,7 @@
2
2
3
3
Reusable GitHub Actions workflow for testing phpBB extensions across multiple environments.
4
4
5
-
This repository provides a reusable GitHub Actions workflow designed for phpBB extension developers. It supports testing across PHP versions 7.2 through 8.x and database engines including MySQL, PostgreSQL, SQLite, and Microsoft SQL Server. Optional checks include PHP CodeSniffer, Extension Pre Validator (EPV), executable file detection, image ICC profile removal, and code coverage reporting via Codecov.
6
-
7
-
# How to Use
5
+
This repository provides a reusable GitHub Actions workflow designed for phpBB extension developers. It supports testing across PHP 8.x and database engines including MySQL, PostgreSQL, SQLite, and Microsoft SQL Server. Optional checks include PHP CodeSniffer, Extension Pre Validator (EPV), executable file detection, image ICC profile removal, and code coverage reporting via Codecov.
8
6
9
7
On GitHub.com, go to your extension's repository, click **Add file → Create new file**, name it `.github/workflows/tests.yml`, add the workflow content shown below, and commit the file. Make sure to replace `acme/demo` with your actual extension vendor/package name, and optionally you may adjust any of the branch names and other checks.
10
8
@@ -28,7 +26,7 @@ on:
28
26
jobs:
29
27
call-tests:
30
28
name: Extension tests
31
-
uses: phpbb-extensions/test-framework/.github/workflows/tests.yml@3.3.x# The phpBB branch to run tests with
29
+
uses: phpbb-extensions/test-framework/.github/workflows/tests.yml@master# The phpBB branch to run tests with
32
30
with:
33
31
EXTNAME: acme/demo # Your extension vendor/package name
34
32
```
@@ -40,10 +38,10 @@ Use the test-framework branch that matches the phpBB version you're developing f
40
38
- `3.3.x`: Targets the phpBB 3.3.x release line.
41
39
- `master`: Targets the latest development version of phpBB (`master` branch).
42
40
43
-
> ‼️ Whichever branch of this framework you choose, be sure it is appended to the `uses:` line after the `@` symbol. For example, if you're targeting the `3.3.x` branch:
41
+
> ‼️ Whichever branch of this framework you choose, be sure it is appended to the `uses:` line after the `@` symbol. For example, if you're targeting the `master` branch:
0 commit comments