Skip to content

Commit 014e08a

Browse files
committed
Add "just _check_no_test" for internal use
1 parent f8966e2 commit 014e08a

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

flake.nix

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -144,9 +144,7 @@
144144
cd "$PLUGIN_DIR"
145145
cp -a "${composerVendorDev}/vendor" .
146146
cp -r --no-preserve=mode "$src"/* .
147-
just _lint _validate _phpcs
148-
# Run directly because composer swallows the exit code
149-
php vendor/bin/rector --debug --dry-run
147+
just _check_no_test
150148
'';
151149
};
152150
in

justfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@ build-wp-org:
2121
nix build .#pluginWpOrg
2222

2323
# Run tests and other checks
24-
check: _lint _validate _phpcs && test
24+
check: _check_no_test test
25+
26+
_check_no_test: _lint _validate _phpcs
2527
php ./vendor/bin/rector --debug --dry-run
2628

2729
# Run development server

0 commit comments

Comments
 (0)