File tree Expand file tree Collapse file tree 3 files changed +21
-17
lines changed Expand file tree Collapse file tree 3 files changed +21
-17
lines changed Original file line number Diff line number Diff line change 1+ name : " Tests"
2+
3+ on : [pull_request,push]
4+
5+
6+ jobs :
7+ test :
8+ name : " Unit & E2E Test"
9+ runs-on : ubuntu-latest
10+ steps :
11+ - name : Checkout repository
12+ uses : actions/checkout@v3
13+ with :
14+ fetch-depth : 2
15+ - name : Run Tests
16+ run : |
17+ docker run --rm --interactive -v $PWD:/app composer sh -c \
18+ "composer install --profile --ignore-platform-reqs && composer test"
19+
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 99 },
1010 "scripts" : {
1111 "lint" : " ./vendor/bin/pint --test" ,
12- "format" : " ./vendor/bin/pint"
12+ "format" : " ./vendor/bin/pint" ,
13+ "test" : " ./vendor/bin/phpunit --configuration phpunit.xml"
1314 },
1415 "require" : {
1516 "php" : " >=7.4"
You can’t perform that action at this time.
0 commit comments