commit compras2 2811
tests / ci (push) Waiting to run

This commit is contained in:
2026-11-28 15:45:52 +02:00
parent eb32c74c56
commit 060c119ba1
92 changed files with 4936 additions and 43 deletions
+24
View File
@@ -90,6 +90,9 @@ try {
$commands = [[PHP_BINARY, 'vendor/bin/pest', '--compact', 'tests/Feature/ImportLegalRulesTest.php', 'tests/Feature/ImportTariffCodesTest.php',
'tests/Feature/ImportReadinessTest.php', 'tests/Feature/ImportBankSupportTest.php', 'tests/Feature/OperationalHealthTest.php', 'tests/Feature/ImportDossierTest.php']];
}
if (in_array('--legal-reference-focused', $argv, true)) {
$commands = [[PHP_BINARY, 'vendor/bin/pest', '--compact', 'tests/Feature/ImportLegalReferenceDraftsTest.php', 'tests/Feature/ImportLegalRulesTest.php']];
}
if (in_array('--legal-amounts-focused', $argv, true)) {
$commands = [[PHP_BINARY, 'vendor/bin/pest', '--compact', 'tests/Feature/ImportLegalEstimatesTest.php', 'tests/Feature/ImportLegalRulesTest.php',
'tests/Feature/ImportEstimatesTest.php', 'tests/Feature/ImportEstimatePlanTest.php', 'tests/Feature/InternalRequisitionCandidateTest.php', 'tests/Feature/RequisitionApprovalLevelsTest.php']];
@@ -123,6 +126,9 @@ try {
if (in_array('--urgent-review-focused', $argv, true)) {
$commands = [[PHP_BINARY, 'vendor/bin/pest', '--compact', 'tests/Feature/RequisitionBudgetCyclesTest.php', '--filter=posterior urgent review|urgent review keeps indeterminate']];
}
if (in_array('--conflict-release-focused', $argv, true)) {
$commands = [[PHP_BINARY, 'vendor/bin/pest', '--compact', 'tests/Feature/ConflictDeclarationTest.php']];
}
if (in_array('--cycle-history-focused', $argv, true)) {
$commands = [[PHP_BINARY, 'vendor/bin/pest', '--compact', 'tests/Feature/RequisitionBudgetCyclesTest.php', 'tests/Feature/ImportEstimatesTest.php',
'--filter=native expiry returns the same request|expired import cycle preserves']];
@@ -152,6 +158,24 @@ try {
$commands = [[PHP_BINARY, 'vendor/bin/pest', '--compact', 'tests/Feature/RequisitionBudgetCyclesTest.php',
'tests/Feature/InternalRequisitionCandidateTest.php', 'tests/Feature/BudgetTest.php']];
}
if (in_array('--operational-orders-focused', $argv, true)) {
$commands = [[PHP_BINARY, 'vendor/bin/pest', '--compact', 'tests/Feature/OperationalOrdersTest.php', 'tests/Feature/PurchaseAwardOrderTest.php',
'--filter=operational register|utilisation mode|request links preserve|policy versions and company department|native orders freeze their production origin|metadata authority never opens']];
}
if (in_array('--operational-orders-access-only', $argv, true)) {
$commands = [[PHP_BINARY, 'vendor/bin/pest', '--compact', 'tests/Feature/OperationalOrdersTest.php', '--filter=metadata authority never opens']];
}
if (in_array('--stock-use-minimum-focused', $argv, true)) {
$commands = [[PHP_BINARY, 'vendor/bin/pest', '--compact', 'tests/Feature/SupplyPlanningTest.php',
'--filter=minimum stock is explicitly configured']];
}
if (in_array('--urgent-quotation-focused', $argv, true)) {
$commands = [[PHP_BINARY, 'vendor/bin/pest', '--compact', 'tests/Feature/UrgentQuotationBasisTest.php', 'tests/Feature/PurchaseAwardOrderTest.php', 'tests/Feature/OrganizationConfigurationTest.php',
'--filter=urgent reduction|unmet minimum|urgent minimum is|native urgent order|comparison policy requires valid weights']];
}
if (in_array('--private-audit-focused', $argv, true)) {
$commands = [[PHP_BINARY, 'vendor/bin/pest', '--compact', 'tests/Feature/PrivateAuditExporterTest.php', 'tests/Feature/PrivateAuditSourcesTest.php', 'tests/Feature/PrivateAuditAccessTest.php']];
}
if (in_array('--requisition-cycles-import-regression', $argv, true)) {
$commands = [[PHP_BINARY, 'vendor/bin/pest', '--compact', 'tests/Feature/ImportEstimatesTest.php', 'tests/Feature/ImportLandedCostsTest.php']];
}