-
Notifications
You must be signed in to change notification settings - Fork 0
50 lines (41 loc) · 1.54 KB
/
tests.yml
File metadata and controls
50 lines (41 loc) · 1.54 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
name: Tests
# For most extensions, this workflow should not need changing;
# simply commit it to your repository.
#
# See the README for full details and configuration instructions:
# - https://github.com/phpbb-extensions/test-framework
#
on:
push:
# Run tests when commits are pushed to these branches in your repo,
# or remove this branches section to run tests on all your branches
branches:
- main
pull_request:
# Run tests when pull requests are made on these branches in your repo,
# or remove this branches section to run tests on all your branches
branches:
- main
jobs:
call-tests:
name: Extension tests
# Set the phpBB branch to test your extension with after the @ symbol
# - 3.3.x: Targets the phpBB 3.3.x release line
# - master: Targets the latest development version of phpBB (master branch)
uses: phpbb-extensions/test-framework/.github/workflows/tests.yml@3.3.x
with:
# Your extension vendor/package name
EXTNAME: phpbbmodders/groupwarn
# Run MySQL/MariaDB tests?
RUN_MYSQL_JOBS: 0
# Run PostgreSQL tests?
RUN_PGSQL_JOBS: 0
# Run MSSQL and SQLite3 tests?
RUN_MSSQL_JOBS: 0
# Run Windows IIS & PostgreSQL tests?
RUN_WINDOWS_JOBS: 0
# Preferred PHP version used for all test jobs.
PRIMARY_PHP_VERSION: '8.1'
# The MySQL and PostgreSQL jobs run tests across multiple PHP versions.
# List the PHP versions you want your extension tested with.
PHP_VERSION_MATRIX: '["8.1", "8.2", "8.3", "8.4"]'