[TASK] Create directory structure for making fine-grained tests #12
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 'Require Tests on Code Change' | |
on: | |
pull_request_target: | |
types: [opened] | |
jobs: | |
check: | |
name: 'Require Tests on Code Change' | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: "Execute tests-checker-action" | |
uses: infection/[email protected] | |
with: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
comment: Could you please add tests to make sure this change works as expected? | |
fileExtensions: '.php' | |
testDir: 'tests' | |
testPattern: '*Test.php' |