ci: wire test-ci entry point for bash script tests
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user