Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Add tests for Makefiles #755

Merged
merged 1 commit into from
Jan 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
"require-dev": {
"bamarni/composer-bin-plugin": "^1.8.2",
"ergebnis/composer-normalize": "^2.29",
"fidry/makefile": "^0.2.1",
"mikey179/vfsstream": "^1.6.11",
"phpspec/prophecy-phpunit": "^2.0.1",
"phpunit/phpunit": "^9.5.26",
Expand Down
72 changes: 71 additions & 1 deletion composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions requirement-checker/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@ help:
#---------------------------------------------------------------------------

.PHONY: check
check: ## Runs all checks
check: ## Runs all checks
check: cs cs_lint test

.PHONY: clean
clean: ## Cleans all created artifacts
clean: ## Cleans all created artifacts
clean:
rm -rf \
dist \
Expand All @@ -54,7 +54,7 @@ clean:


.PHONY: dump
dump: ## Dumps the requirement-checker
dump: ## Dumps the requirement-checker
dump:
rm -rf $(PHAR) $(PHAR_EXTRACT) || true
$(MAKE) _dump
Expand Down Expand Up @@ -102,7 +102,7 @@ php_cs_fixer_lint: $(PHP_CS_FIXER_BIN)
#---------------------------------------------------------------------------

.PHONY: test
test: ## Runs all the tests
test: ## Runs all the tests
test: phpunit terminal_copy

.PHONY: phpunit
Expand Down
1 change: 1 addition & 0 deletions requirement-checker/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
},
"require-dev": {
"ergebnis/composer-normalize": "^2.29",
"fidry/makefile": "^0.2.1",
"phpunit/phpunit": "^9.0"
},
"autoload": {
Expand Down
Loading