-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
38 lines (30 loc) · 1.01 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
.DEFAULT_GOAL := help
help:
@echo "Available commands:"
@echo " - run-tests: Run tests"
@echo " - run-infection: Runs Infection mutation testing"
@echo " - coverage-text: Runs coverage text"
@echo " - coverage-html: Runs coverage html"
@echo " - all: Runs CS-Fixer, CS-Checker, Static Analyser and Tests"
@echo " - shell: Run shell"
run-tests:
@echo "Running tests"
docker compose run php composer test
run-infection:
@echo "Running infection mutation testing"
docker compose run php composer infection
coverage-text:
@echo "Running coverage text"
docker compose run php composer test-coverage
coverage-html:
@echo "Running coverage text"
docker compose run php composer test-coverage-html
all:
@echo "Running CS-Fixer, CS-Checker, Static Analyser and Tests"
docker compose run php composer all
benchmark:
@echo "Running phpbench"
docker compose run php composer benchmark
shell:
@echo "Running shell"
docker compose run --service-ports --entrypoint /bin/bash php