Skip to content

Commit 7ddad16

Browse files
committed
ci: fix script
1 parent 0c01c6c commit 7ddad16

File tree

2 files changed

+0
-28
lines changed

2 files changed

+0
-28
lines changed

.github/workflows/base.yml

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -34,20 +34,3 @@ jobs:
3434

3535
- name: run lint
3636
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

Makefile

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -58,17 +58,6 @@ phpstan: ## Run PHPStan
5858

5959
lint: phpcs phpstan ## Run PHP Code Sniffer and PHPStan
6060

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-
7261
## 🧙 Composer
7362
composer: ## Run Composer, pass the parameter "c=" to run a given command (example: make composer c='req vendor/package')
7463
@$(COMPOSER) $(c)

0 commit comments

Comments
 (0)