From 0ff723a01f4a72f73d011963d2a6a57aba6c3cca Mon Sep 17 00:00:00 2001 From: Cory Bullinger Date: Sat, 7 Feb 2026 09:17:54 -0500 Subject: [PATCH] Update js-express workflow so it fails on failed unit tests --- .github/workflows/run-express-tests.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/run-express-tests.yml b/.github/workflows/run-express-tests.yml index eb1b2aa..5f2fdd4 100644 --- a/.github/workflows/run-express-tests.yml +++ b/.github/workflows/run-express-tests.yml @@ -62,13 +62,14 @@ jobs: - name: Run unit tests working-directory: mflix/server/js-express - run: npm run test:unit -- --json --outputFile=test-results-unit.json || true + run: npm run test:unit -- --json --outputFile=test-results-unit.json env: MONGODB_URI: mongodb://localhost:27017/sample_mflix?directConnection=true - name: Run integration tests working-directory: mflix/server/js-express - run: npm run test:integration -- --json --outputFile=test-results-integration.json || true + continue-on-error: true + run: npm run test:integration -- --json --outputFile=test-results-integration.json env: MONGODB_URI: mongodb://localhost:27017/sample_mflix?directConnection=true ENABLE_SEARCH_TESTS: true