Skip to content

Commit f43519c

Browse files
committed
Adjust test.yml
1 parent c1453d8 commit f43519c

File tree

1 file changed

+7
-15
lines changed

1 file changed

+7
-15
lines changed

.github/workflows/tests.yml

Lines changed: 7 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,30 +4,22 @@ on:
44
push:
55
branches: # Run tests when commits are pushed to these branches in your repo
66
- main
7-
- master
8-
- develop
97
- dev/*
108
pull_request: # Run tests when pull requests are made on these branches in your repo
119
branches:
1210
- main
13-
- master
14-
- develop
1511
- dev/*
1612

1713
jobs:
1814
call-tests:
19-
uses: iMattPro/test-framework/.github/workflows/tests.yml@experimental-3.3.x
15+
name: Extension tests
16+
uses: phpbb-extensions/test-framework/.github/workflows/tests.yml@3.3.x
2017
with:
2118
EXTNAME: phpbb/webpushnotifications # Your extension vendor/package name
22-
SNIFF: 1 # Run code sniffer on your code? 1 or 0
23-
IMAGE_ICC: 0 # Run icc profile sniffer on your images? 1 or 0
24-
EPV: 1 # Run EPV (Extension Pre Validator) on your code? 1 or 0
25-
EXECUTABLE_FILES: 0 # Run check for executable files? 1 or 0
26-
CODECOV: 0 # Run code coverage via codecov? 1 or 0
27-
PHPBB_BRANCH: 3.3.x # The phpBB branch to run tests on
28-
ALL_PHP_VERSIONS: '["7.3", "7.4", "8.0", "8.1", "8.2", "8.3", "8.4"]' # [Optional] array of all major.minor PHP versions to test
29-
MIN_PHP_VERSION: '7.3' # [Optional] Your extension's PHP level (usually the minimum PHP version supported)
30-
RUN_NPM_INSTALL: 1 # [Optional] Install NPM/Node dependencies if your extension needs them during testing
31-
RUN_COMPOSER_INSTALL: 1 # [Optional] Install composer dependencies if your extension needs them during testing
19+
EXECUTABLE_FILES: 0
20+
RUN_NPM_INSTALL: 1
21+
RUN_COMPOSER_INSTALL: 1
22+
PHP_VERSION_MATRIX: '["7.3", "7.4", "8.0", "8.1", "8.2", "8.3", "8.4"]'
23+
PRIMARY_PHP_VERSION: '7.3'
3224
secrets:
3325
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} # Do not change this

0 commit comments

Comments
 (0)