File tree Expand file tree Collapse file tree 1 file changed +2
-12
lines changed
Expand file tree Collapse file tree 1 file changed +2
-12
lines changed Original file line number Diff line number Diff line change 22
33on : [push, pull_request]
44jobs :
5- setup_php :
6- name : Setup PHP
5+ test :
6+ name : Run tests and linting
77 runs-on : ubuntu-latest
88 steps :
99 - uses : actions/checkout@v4
@@ -23,21 +23,11 @@ jobs:
2323 composer-options : " --no-progress --optimize-autoloader --no-scripts"
2424 custom-cache-key : ${{ runner.os }}-${{ hashFiles('**/composer.lock') }}
2525
26- run-test :
27- name : Run testsuite
28- runs-on : ubuntu-latest
29- needs : setup_php
30- steps :
3126 - name : Run Unit test
3227 run : vendor/bin/phpunit --testsuite Unit
3328
3429 - name : Run Acceptance test
3530 run : vendor/bin/phpunit --testsuite Acceptance
3631
37- lint :
38- name : Lint code
39- runs-on : ubuntu-latest
40- needs : setup_php
41- steps :
4232 - name : Run ECS
4333 run : vendor/bin/ecs check
You can’t perform that action at this time.
0 commit comments