From 15599c2eea98cc6b30863fbeca9eaef3d06f332d Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Fri, 24 Nov 2023 15:24:26 +0100 Subject: [PATCH] Remove wrong tests --- .github/workflows/tests.yml | 6 ------ Makefile | 8 -------- 2 files changed, 14 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 9a840d2..3c6595b 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -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 diff --git a/Makefile b/Makefile index e415808..d899611 100644 --- a/Makefile +++ b/Makefile @@ -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