Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -139,10 +139,8 @@ let
runtimeInputs = [
composer
php
projectInstall
];
text = ''
project-install
"$PROJECT_ROOT/Build/Scripts/phpunit.sh" unit
'';
};
Expand All @@ -152,10 +150,8 @@ let
runtimeInputs = [
composer
php
projectInstall
];
text = ''
project-install
"$PROJECT_ROOT/Build/Scripts/phpunit.sh" functional
'';
};
Expand All @@ -164,26 +160,22 @@ let
name = "project-test-with-coverage";
runtimeInputs = [
php
projectInstall
];
text = ''
project-install
XDEBUG_MODE=coverage ./.Build/bin/phpunit -c Build/phpunit.xml.dist --coverage-html=coverage_result
'';
};

projectTestAcceptance = pkgs.writeShellApplication {
name = "project-test-acceptance";
runtimeInputs = [
projectInstall
pkgs.sqlite
pkgs.firefox
pkgs.geckodriver
pkgs.procps
php
];
text = ''
project-install
"$PROJECT_ROOT/Build/Scripts/acceptance.sh" "$@"
'';
};
Expand Down
Loading