Skip to content

Commit 0caf83b

Browse files
committed
chore: rename check-pr.yml -> tests.yml
The workflow tests.yml is now used for checking PRs and all pushes to **.x branches
1 parent 4904e41 commit 0caf83b

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/check-pr.yml renamed to .github/workflows/tests.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ on:
33
pull_request:
44
branches:
55
- '**.x'
6+
push:
7+
branches:
8+
- '**.x'
69
jobs:
710
testing:
811
name: PHP ${{ matrix.php }}
@@ -23,7 +26,7 @@ jobs:
2326
- name: Install dependencies
2427
run: composer install
2528

26-
- name: Lint syntax
29+
- name: Lint syntax / code convention
2730
run: composer lint
2831

2932
- name: Run unit tests

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"test": "vendor/bin/phpunit",
3232
"test-coverage-clover": "vendor/bin/phpunit --coverage-clover=coverage.clover.xml",
3333
"test-coverage-html": "vendor/bin/phpunit --coverage-html=test/coverage",
34-
"lint": "vendor/bin/phpcs --standard=phpcs.xml src/*"
34+
"lint": "vendor/bin/phpcs -v --standard=phpcs.xml src/*"
3535
},
3636
"scripts-descriptions": {
3737
"test": "Runs the phpunit testsuite",

0 commit comments

Comments
 (0)