Skip to content

Commit

Permalink
build: Remove covers validator (#240)
Browse files Browse the repository at this point in the history
  • Loading branch information
theofidry authored Dec 2, 2023
1 parent b8c5766 commit db97dca
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2,986 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,6 @@ jobs:
- name: Repeat "Install Symfony Composer bin dependencies"
run: composer bin symfony update --prefer-dist --prefer-stable ${{ matrix.composer-flags }}

- name: Install CoversValidator Composer bin dependencies
run: composer bin covers-validator install --prefer-dist

- name: Install PHP-CS-Fixer Composer bin dependencies
run: composer bin php-cs-fixer install --prefer-dist

Expand Down
17 changes: 2 additions & 15 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
COVERS_VALIDATOR=php -d zend.enable_gc=0 vendor-bin/covers-validator/bin/covers-validator
PHP_CS_FIXER=php -d zend.enable_gc=0 vendor-bin/php-cs-fixer/bin/php-cs-fixer
DOCKER_COMPOSE=docker-compose
DOCKER_COMPOSE_EXEC=$(DOCKER_COMPOSE) exec -T
Expand Down Expand Up @@ -89,10 +88,7 @@ test: test_core \

.PHONY: test_core
test_core: ## Run the tests for the core library
test_core: vendor/phpunit \
vendor-bin/covers-validator/vendor
$(COVERS_VALIDATOR)

test_core: vendor/phpunit
bin/phpunit

.PHONY: test_doctrine_bridge
Expand Down Expand Up @@ -139,8 +135,7 @@ test_eloquent_bridge: vendor/bamarni \
.PHONY: test_symfony_bridge
test_symfony_bridge: ## Run the tests for the Symfony bridge
test_symfony_bridge: vendor/bamarni \
vendor-bin/symfony/vendor/phpunit \
vendor-bin/covers-validator/vendor
vendor-bin/symfony/vendor/phpunit
$(COVERS_VALIDATOR) -c phpunit_symfony.xml.dist
$(MAKE) remove_sf_cache

Expand Down Expand Up @@ -214,14 +209,6 @@ vendor/bamarni: composer.lock
touch $@


vendor-bin/covers-validator/composer.lock: vendor-bin/covers-validator/composer.json
@echo covers-validator composer.lock is not up to date

vendor-bin/covers-validator/vendor: vendor-bin/covers-validator/composer.lock
composer bin covers-validator update $(COMPOSER_FLAGS)
touch $@


vendor-bin/php-cs-fixer/composer.lock: vendor-bin/php-cs-fixer/composer.json
@echo php-cs-fixer composer.lock is not up to date.

Expand Down
10 changes: 0 additions & 10 deletions vendor-bin/covers-validator/composer.json

This file was deleted.

Loading

0 comments on commit db97dca

Please sign in to comment.