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
- 📊 [Code Coverage with Codecov](#-code-coverage-with-codecov)
14
13
15
14
## ✨ Features
@@ -18,10 +17,10 @@ This repository contains a pre-configured test workflow designed for phpBB exten
18
17
- Tests against multiple database engines
19
18
- Optional checks for:
20
19
- PHP CodeSniffer
21
-
- ICC image profiles
20
+
-Image ICC profile removal
22
21
- EPV (Extension Pre Validator)
23
-
-Executable files
24
-
- Code coverage via Codecov
22
+
-Files with executable permissions
23
+
- Code coverage reports via Codecov
25
24
26
25
## 🚀 How to Use
27
26
@@ -59,15 +58,23 @@ jobs:
59
58
60
59
Use the branch that matches the phpBB version you're developing for.
61
60
62
-
- `3.3.x`: Targets the **phpBB 3.3.x** release line.
63
-
- `master`: Targets the latest development version of **phpBB** (`master` branch).
61
+
- `3.3.x`: Targets the phpBB 3.3.x release line.
62
+
- `master`: Targets the latest development version of phpBB (`master` branch).
64
63
65
-
## ✅ Requirements
64
+
> ‼️ Whichever branch you choose here, be sure to use the **same value** for both the `PHPBB_BRANCH` and in the `uses:` line after the `@` symbol. For example, if you're targeting the `3.3.x` branch:
- 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**.
68
75
- Tests must be defined in your repository using PHPUnit.
69
76
70
-
## 🛠 Advanced Configuration Options
77
+
## 🛠 Configuration Options
71
78
72
79
You can fine-tune this workflow with several optional arguments in the `with` section:
73
80
@@ -82,46 +89,43 @@ call-tests:
82
89
# OPTIONAL CONFIGURATIONS BELOW
83
90
# The following arguments are optional and can be omitted if not needed.
84
91
85
-
# Run EPV (Extension Pre Validator) on your code? 1 or 0
92
+
# Run phpBB's EPV (Extension Pre Validator)? 1 (yes) or 0 (no)
86
93
# Default: 1
87
94
EPV: 1
88
95
89
-
# Run check for executable files? 1 or 0
96
+
# Check for files with executable permissions? 1 (yes) or 0 (no)
90
97
# Default: 1
91
98
EXECUTABLE_FILES: 1
92
99
93
-
# Run icc profile sniffer on your images? 1 or 0
100
+
# Remove embedded ICC profiles from images? 1 (yes) or 0 (no)
94
101
# Default: 1
95
102
IMAGE_ICC: 1
96
103
97
-
# Run code sniffer on your code? 1 or 0
104
+
# Run CodeSniffer to detect PHP code style issues? 1 (yes) or 0 (no)
98
105
# Default: 1
99
106
SNIFF: 1
100
107
101
-
# ADVANCED CONFIGURATIONS BELOW
102
-
# The following arguments are for users that need to tweak the workflow.
103
-
104
-
# Set this to 0 to skip all MySQL/MariaDB tests.
108
+
# Run MySQL/MariaDB tests? 1 (yes) or 0 (no)
105
109
# Default: 1
106
110
RUN_MYSQL_JOBS: 1
107
111
108
-
# Set this to 0 to skip all PostgreSQL tests.
112
+
# Run PostgreSQL tests? 1 (yes) or 0 (no)
109
113
# Default: 1
110
114
RUN_PGSQL_JOBS: 1
111
115
112
-
# Set this to 0 to skip all MSSQL and SQLite3 tests.
116
+
# Run MSSQL and SQLite3 tests? 1 (yes) or 0 (no)
113
117
# Default: 1
114
118
RUN_MSSQL_JOBS: 1
115
119
116
-
# Set this to 0 to skip all Windows IIS & PostgreSQL tests.
120
+
# Run Windows IIS & PostgreSQL tests? 1 (yes) or 0 (no)
117
121
# Default: 1
118
122
RUN_WINDOWS_JOBS: 1
119
123
120
-
# Set this to 1 if your extension relies on NPM dependencies.
124
+
# Install NPM dependencies (if your extension relies on them)? 1 (yes) or 0 (no)
121
125
# Default: 0
122
126
RUN_NPM_INSTALL: 0
123
127
124
-
# Set this to 1 if your extension relies on Composer dependencies.
128
+
# Install Composer dependencies (if your extension relies on them)? 1 (yes) or 0 (no)
0 commit comments