chore: Update test command in CI workflow for improved reporting
Some checks failed
LabFusion CI/CD Pipeline / api-gateway (push) Failing after 36s
Docker Build and Push / build-and-push (push) Failing after 42s
LabFusion CI/CD Pipeline / service-adapters (push) Successful in 1m0s
LabFusion CI/CD Pipeline / frontend (push) Failing after 1m6s
Integration Tests / integration-tests (push) Failing after 35s
LabFusion CI/CD Pipeline / api-docs (push) Successful in 1m35s
LabFusion CI/CD Pipeline / integration-tests (push) Has been skipped
Integration Tests / performance-tests (push) Has been skipped
Some checks failed
LabFusion CI/CD Pipeline / api-gateway (push) Failing after 36s
Docker Build and Push / build-and-push (push) Failing after 42s
LabFusion CI/CD Pipeline / service-adapters (push) Successful in 1m0s
LabFusion CI/CD Pipeline / frontend (push) Failing after 1m6s
Integration Tests / integration-tests (push) Failing after 35s
LabFusion CI/CD Pipeline / api-docs (push) Successful in 1m35s
LabFusion CI/CD Pipeline / integration-tests (push) Has been skipped
Integration Tests / performance-tests (push) Has been skipped
### Summary of Changes - Modified the test command in the CI workflow to use `--run` and `--reporter=verbose` for better execution control and detailed output. ### Expected Results - Enhanced clarity of test results during CI runs, facilitating easier debugging and monitoring of test coverage.
This commit is contained in:
@@ -241,7 +241,7 @@ jobs:
|
||||
run: npm run lint
|
||||
|
||||
- name: Run tests
|
||||
run: npm test -- --coverage --watchAll=false --coverageReporters=lcov --coverageReporters=text --coverageReporters=html
|
||||
run: npm test -- --run --coverage --reporter=verbose
|
||||
|
||||
- name: Send results to SonarQube
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user