@@ -32,12 +32,12 @@ name: Tests
3232
3333on :
3434 push :
35- branches : # Run tests when commits are pushed to these branches in your repo
35+ branches : # Run tests when commits are pushed to these branches in your repo
3636 - main
3737 - master
3838 - develop
3939 - dev/*
40- pull_request : # Run tests when pull requests are made on these branches in your repo
40+ pull_request : # Run tests when pull requests are made on these branches in your repo
4141 branches :
4242 - main
4343 - master
5050 uses : phpbb-extensions/test-framework/.github/workflows/tests.yml@3.3.x # Must match PHPBB_BRANCH
5151 with :
5252 EXTNAME : acme/demo # Your extension vendor/package name
53- SNIFF : 1 # Run code sniffer on your code? 1 or 0
54- IMAGE_ICC : 1 # Run icc profile sniffer on your images? 1 or 0
55- EPV : 1 # Run EPV (Extension Pre Validator) on your code? 1 or 0
56- EXECUTABLE_FILES : 1 # Run check for executable files? 1 or 0
57- CODECOV : 0 # Run code coverage via codecov? 1 or 0
5853 PHPBB_BRANCH : 3.3.x # The phpBB branch to run tests on
5954 secrets :
60- CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }} # Do not edit this
55+ CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }} # Do not edit or remove this
6156` ` `
6257
6358### Branches
@@ -82,15 +77,33 @@ call-tests:
8277 uses: phpbb-extensions/test-framework/.github/workflows/tests.yml@3.3.x
8378 with:
8479 EXTNAME: acme/demo # Your extension vendor/package name
85- SNIFF: 1 # Run code sniffer on your code? 1 or 0
86- IMAGE_ICC: 1 # Run icc profile sniffer on your images? 1 or 0
87- EPV: 1 # Run EPV (Extension Pre Validator) on your code? 1 or 0
88- EXECUTABLE_FILES: 1 # Run check for executable files? 1 or 0
89- CODECOV: 0 # Run code coverage via codecov? 1 or 0
9080 PHPBB_BRANCH: 3.3.x # The phpBB branch to run tests on
9181
92- # OPTIONAL ADVANCED CONFIGURATIONS BELOW
93- # The following arguments are all optional and can be omitted if not needed.
82+ # OPTIONAL CONFIGURATIONS BELOW
83+ # The following arguments are optional and can be omitted if not needed.
84+
85+ # Run code sniffer on your code? 1 or 0
86+ # Default: 1
87+ SNIFF: 1
88+
89+ # Run icc profile sniffer on your images? 1 or 0
90+ # Default: 1
91+ IMAGE_ICC: 1
92+
93+ # Run EPV (Extension Pre Validator) on your code? 1 or 0
94+ # Default: 1
95+ EPV: 1
96+
97+ # Run check for executable files? 1 or 0
98+ # Default: 1
99+ EXECUTABLE_FILES: 1
100+
101+ # ADVANCED CONFIGURATIONS BELOW
102+ # The following arguments are for users that need to tweak the workflow.
103+
104+ # Set this to 1 to generate a code coverage report. (See documentation below.)
105+ # Default: 0
106+ CODECOV: 0
94107
95108 # Set this to 0 to skip all basic checks (code sniffer, EPV, etc.)
96109 # Default: 1
0 commit comments