ci: wire test-ci entry point for bash script tests

This commit is contained in:
2026-04-25 02:30:36 +03:00
parent 92641e1037
commit a892594ab2
2 changed files with 7 additions and 1 deletions
+6 -1
View File
@@ -1,4 +1,4 @@
.PHONY: help dev dev-full stop status logs build build-remote build-both test test-coverage lint typecheck e2e check clean install sync
.PHONY: help dev dev-full stop status logs build build-remote build-both test test-coverage lint typecheck e2e check clean install sync test-ci
help:
@echo "Aeroflot.Flights.Web — Available commands:"
@@ -22,6 +22,7 @@ help:
@echo " make lint - Lint code (ESLint)"
@echo " make typecheck - Type check (TypeScript)"
@echo " make check - Run typecheck + lint + test"
@echo " make test-ci - Run CI script unit tests (bash)"
@echo ""
@echo " E2E Testing:"
@echo " make e2e - Run Playwright E2E tests"
@@ -117,3 +118,7 @@ sync:
# Setup
install:
$(PNPM) install
# CI-script unit tests
test-ci:
$(PNPM) test:ci
+1
View File
@@ -23,6 +23,7 @@
"check-coverage": "node scripts/ci/check-coverage-delta.mjs",
"test:e2e": "playwright test",
"test:e2e:angular": "playwright test --config=playwright-angular.config.ts tests/e2e-angular/cross-app/",
"test:ci": "bash -c 'shopt -s nullglob; for f in tests/ci/test-*.sh; do echo \"--- $f ---\"; bash \"$f\" || exit 1; done'",
"proxy": "node scripts/api-proxy.mjs",
"dev:full": "node scripts/dev-server.mjs",
"compare:visual": "tsx tests/parity/visual/screenshot-diff-multi.ts && tsx tests/parity/visual/generate-report.ts",