Remove wrong tests

This commit is contained in:
Alexandre Alapetite 2023-11-24 15:24:26 +01:00
parent 34cda5ba05
commit 15599c2eea
No known key found for this signature in database
GPG key ID: A24378C38E812B23
2 changed files with 0 additions and 14 deletions

View file

@ -38,9 +38,6 @@ jobs:
- name: Check PHTML syntax
run: composer run-script phtml-lint
- name: Check translations syntax
run: composer run-script translations && git diff --exit-code
- name: Use Composer cache
id: composer-cache
uses: actions/cache@v3
@ -54,9 +51,6 @@ jobs:
run: composer install --prefer-dist --no-progress
if: steps.composer-cache.outputs.cache-hit != 'true'
- name: Run PHP unit tests
run: composer run-script phpunit
- name: PHP_CodeSniffer
run: composer run-script phpcs

View file

@ -41,10 +41,6 @@ help:
######################
## Tests and linter ##
######################
.PHONY: test
test: vendor/bin/phpunit ## Run the test suite
$(PHP) vendor/bin/phpunit --bootstrap ./tests/bootstrap.php ./tests
.PHONY: lint
lint: vendor/bin/phpcs ## Run the linter on the PHP files
$(PHP) vendor/bin/phpcs . -p -s
@ -57,10 +53,6 @@ bin/composer:
mkdir -p bin/
wget 'https://raw.githubusercontent.com/composer/getcomposer.org/a19025d6c0a1ff9fc1fac341128b2823193be462/web/installer' -O - -q | php -- --quiet --install-dir='./bin/' --filename='composer'
vendor/bin/phpunit: bin/composer
bin/composer install --prefer-dist --no-progress
ln -s ../vendor/bin/phpunit bin/phpunit
vendor/bin/phpcs: bin/composer
bin/composer install --prefer-dist --no-progress
ln -s ../vendor/bin/phpcs bin/phpcs