Skip to content

Commit 537254a

Browse files
committed
Remove broken unit and coverage commands
- Remove unit and coverage - Add integration test runners to "composer test"
1 parent 330f638 commit 537254a

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

composer.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,15 +74,13 @@
7474
"phpstan": "php -d memory_limit=-1 ./vendor/bin/phpstan analyse",
7575
"phpcbf": "php ./vendor/bin/phpcbf -d memory_limit=512M --standard=./phpcs.xml --extensions=php src tests views *.php",
7676
"phpcs": "php ./vendor/bin/phpcs -d memory_limit=512M -s --standard=./phpcs.xml --extensions=php src tests views *.php",
77-
"phpunit": "php ./vendor/bin/phpunit ./tests/unit/",
78-
"coverage": "XDEBUG_MODE=coverage php ./vendor/bin/phpunit tests/unit --coverage-html coverage --whitelist src/",
7977
"lint": "php ./vendor/bin/parallel-lint --exclude integration-tests --exclude vendor .",
8078
"test": [
8179
"composer validate --strict",
8280
"@lint",
8381
"@phpcs",
8482
"@phpstan",
85-
"@phpunit"
83+
"@test-integration"
8684
],
8785
"test-aws": "WORDPRESS_DIR=$(realpath ./dev/data/wordpress1) php ./vendor/bin/phpunit --testsuite AWS",
8886
"test-integration": "bin/test-php-versions",

flake.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,14 @@
2424
pname = "${name}-composer-deps";
2525
version = "1.0.0";
2626
src = composerSrc;
27-
vendorHash = "sha256-9YemfM9d/kbSqENRd6YYuKPZl8+B2Y/cO7kffI0j7Ds=";
27+
vendorHash = "sha256-o3Azuryk/E2BDjIMROgBXgbgsTN7HwEgW55H3L4xhOw=";
2828
});
2929
composerVendorDev = php.mkComposerVendor (finalAttrs: {
3030
composerNoDev = false;
3131
pname = "${name}-composer-deps-dev";
3232
version = "1.0.0";
3333
src = composerSrc;
34-
vendorHash = "sha256-9YemfM9d/kbSqENRd6YYuKPZl8+B2Y/cO7kffI0j7Ds=";
34+
vendorHash = "sha256-NqGEOpBcNBiN8BcnrKez1vSJPuwXViBHnhGAu3ogldM=";
3535
});
3636
staticDeploySrc = pkgs.lib.cleanSourceWith {
3737
src = self;

0 commit comments

Comments
 (0)