File tree Expand file tree Collapse file tree 2 files changed +0
-28
lines changed Expand file tree Collapse file tree 2 files changed +0
-28
lines changed Original file line number Diff line number Diff line change 34
34
35
35
- name : run lint
36
36
run : make lint
37
-
38
- - name : run tests
39
- run : make test-cov
40
-
41
- - name : upload coverage
42
- uses : codecov/codecov-action@v5
43
- with :
44
- token : ${{ secrets.CODECOV_TOKEN }}
45
- fail_ci_if_error : true
46
-
47
- - name : upload test results
48
- if : ${{ !cancelled() }}
49
- uses : codecov/test-results-action@v1
50
- with :
51
- file : ./coverage/junit.xml
52
- token : ${{ secrets.CODECOV_TOKEN }}
53
- fail_ci_if_error : true
Original file line number Diff line number Diff line change @@ -58,17 +58,6 @@ phpstan: ## Run PHPStan
58
58
59
59
lint : phpcs phpstan # # Run PHP Code Sniffer and PHPStan
60
60
61
- test : # # Run all tests, pass the parameter "args=" to append arguments (example: make test args='--filter=file.php')
62
- @$(DOCKER_COMPOSE ) exec app vendor/bin/phpunit --testdox ${args}
63
-
64
- test-cov : # # Run all tests and generate coverage report
65
- @$(DOCKER_COMPOSE ) exec -e XDEBUG_MODE=coverage app vendor/bin/phpunit --testdox --coverage-clover coverage/clover/clover.xml --coverage-html coverage/html --log-junit coverage/junit.xml
66
-
67
- cov : test-cov cov-report # # Generate and open test coverage report
68
-
69
- cov-report : # # Open test coverage report
70
- open coverage/html/index.html
71
-
72
61
# # 🧙 Composer
73
62
composer : # # Run Composer, pass the parameter "c=" to run a given command (example: make composer c='req vendor/package')
74
63
@$(COMPOSER ) $(c )
You can’t perform that action at this time.
0 commit comments