Skip to content

Commit b72bf58

Browse files
committed
Add "composer test-live" command
1 parent 537254a commit b72bf58

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

composer.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,10 @@
8585
"test-aws": "WORDPRESS_DIR=$(realpath ./dev/data/wordpress1) php ./vendor/bin/phpunit --testsuite AWS",
8686
"test-integration": "bin/test-php-versions",
8787
"test-integration-live": "WORDPRESS_DIR=$(realpath ./dev/data/wordpress1) php ./vendor/bin/phpunit --testsuite Integration",
88+
"test-live": [
89+
"@test-integration-live",
90+
"@test-aws"
91+
],
8892
"build": "nix build .#plugin"
8993
}
9094
}

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-o3Azuryk/E2BDjIMROgBXgbgsTN7HwEgW55H3L4xhOw=";
27+
vendorHash = "sha256-btstADBSSA9mbkoCXIygGD0V0Z2cwhArO+SbcEH9MTE=";
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-NqGEOpBcNBiN8BcnrKez1vSJPuwXViBHnhGAu3ogldM=";
34+
vendorHash = "sha256-T3B8Wqpf0JYZC+BAD0orY3WJgmEmZbBsWx8FH1fvHjQ=";
3535
});
3636
staticDeploySrc = pkgs.lib.cleanSourceWith {
3737
src = self;

0 commit comments

Comments
 (0)