Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
485c53a
RI-0000-fixing test coverage path mismatch
Jul 9, 2025
c70786c
RI-0000-fixing test coverage path mismatch
Jul 9, 2025
493f69e
RI-0000-fixing test coverage path mismatch
Jul 9, 2025
1bc887e
RI-0000-fixing test coverage path mismatch
Jul 9, 2025
3ccbef2
RI-0000-fixing test coverage path mismatch
Jul 9, 2025
a8054e4
RI-0000-fixing test coverage path mismatch
Jul 9, 2025
56efd85
RI-0000-fixing test coverage path mismatch
Jul 9, 2025
e6c227f
RI-0000-fixing test coverage path mismatch
Jul 9, 2025
17d195b
RI-0000-fixing test coverage path mismatch
Jul 9, 2025
259e1f6
RI-0000-fixing test coverage path mismatch
Jul 9, 2025
3d9168f
RI-0000-fixing test coverage path mismatch
Jul 9, 2025
6d7020e
RI-0000-fixing test coverage path mismatch
Jul 9, 2025
df9c106
RI-0000-fixing test coverage path mismatch
Jul 9, 2025
87a390b
RI-0000-fixing test coverage path mismatch
Jul 9, 2025
3fcbaa1
RI-0000-fixing test coverage path mismatch - testing nyc params
Jul 9, 2025
2422a7a
Merge branch 'release/2.70.1' into RI-0000-fixing-coverage-paths
Jul 9, 2025
17e95ff
RI-0000-fixing test coverage path mismatch - testing nyc params
Jul 9, 2025
96a18b2
RI-0000-fixing test coverage path mismatch - testing nyc params
Jul 9, 2025
881c61d
RI-0000-fixing test coverage path mismatch - testing nyc params
Jul 9, 2025
5d5723d
RI-0000-fixing test coverage path mismatch - testing nyc handling in …
Jul 9, 2025
c550b2b
RI-0000-fixing test coverage path mismatch - testing nyc handling in …
Jul 9, 2025
39360de
RI-0000-fixing test coverage path mismatch - testing nyc handling in …
Jul 9, 2025
f2d6b24
Merge branch 'release/2.70.1' into RI-0000-fixing-coverage-paths
Jul 9, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion .github/workflows/tests-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -167,8 +167,16 @@ jobs:
echo "=== Checking coverage generation results ==="
echo "Working directory: $(pwd)"
echo ""
echo "=== Coverage files status ==="
echo "=== Docker container debug log ==="
cd ./redisinsight/api/test/test-runs
if [ -f "coverage/debug.log" ]; then
echo "📋 Debug log from Docker container:"
cat coverage/debug.log
else
echo "❌ No debug log found from Docker container"
fi
echo ""
echo "=== Coverage files status ==="
if [ -d "coverage/.nyc_output" ] && [ "$(find coverage/.nyc_output -name "*.json" | wc -l)" -gt 0 ]; then
echo "✅ .nyc_output directory found with $(find coverage/.nyc_output -name "*.json" | wc -l) files"
echo "✅ NYC raw coverage data generated successfully"
Expand Down
2 changes: 1 addition & 1 deletion redisinsight/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"typeorm": "ts-node -r tsconfig-paths/register ./node_modules/typeorm/cli.js -d ./config/ormconfig.ts",
"test:api": "cross-env NODE_ENV=test ts-mocha --paths --config ./test/api/.mocharc.yml",
"test:api:cov": "nyc --reporter=html --reporter=text --reporter=text-summary yarn run test:api",
"test:api:ci:cov": "cross-env NODE_ENV=test nyc --temp-dir coverage/.nyc_output --report-dir coverage --instrument -r text -r text-summary -r html yarn run test:api --reporter mocha-multi-reporters --reporter-options configFile=test/api/reporters.json && echo 'NYC tests completed, checking .nyc_output...' && ls -la coverage/.nyc_output && echo 'Running NYC merge...' && nyc merge coverage/.nyc_output coverage/test-run-coverage.json && echo 'NYC merge completed!' && ls -la coverage/test-run-coverage.json",
"test:api:ci:cov": "cross-env NODE_ENV=test nyc --temp-dir coverage/.nyc_output --report-dir coverage --instrument -r text -r text-summary -r html yarn run test:api --reporter mocha-multi-reporters --reporter-options configFile=test/api/reporters.json; echo 'Exit code from tests:' $? > coverage/debug.log; echo 'NYC tests completed, checking .nyc_output...' >> coverage/debug.log; ls -la coverage/.nyc_output >> coverage/debug.log 2>&1; echo 'Running NYC merge...' >> coverage/debug.log; nyc merge coverage/.nyc_output coverage/test-run-coverage.json >> coverage/debug.log 2>&1; echo 'NYC merge exit code:' $? >> coverage/debug.log; echo 'NYC merge completed!' >> coverage/debug.log; ls -la coverage/test-run-coverage.json >> coverage/debug.log 2>&1",
"typeorm:migrate": "cross-env NODE_ENV=staging yarn typeorm migration:generate ./migration/migration",
"typeorm:run": "yarn typeorm migration:run",
"typeorm:run:stage": "cross-env NODE_ENV=staging yarn typeorm migration:run"
Expand Down