Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 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
d9de5aa
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
16 changes: 9 additions & 7 deletions .github/workflows/tests-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -164,18 +164,20 @@ jobs:
- name: Debug NYC coverage generation
if: always()
run: |
echo "=== Debugging NYC merge process ==="
echo "=== Checking coverage generation results ==="
echo "Working directory: $(pwd)"
echo ""
echo "=== Try manual NYC merge on HOST ==="
echo "=== Coverage files status ==="
cd ./redisinsight/api/test/test-runs
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 "Attempting manual NYC merge..."
echo "Command: cd ../.. && nyc merge ./test/test-runs/coverage/.nyc_output ./test/test-runs/coverage/test-run-coverage.json"
cd ../.. && nyc merge ./test/test-runs/coverage/.nyc_output ./test/test-runs/coverage/test-run-coverage.json || echo "NYC merge failed with exit code $?"
echo "Checking result:"
ls -la ./test/test-runs/coverage/test-run-coverage.json 2>/dev/null || echo "File not created"
echo "✅ NYC raw coverage data generated successfully"
if [ -f "coverage/test-run-coverage.json" ]; then
echo "✅ test-run-coverage.json file exists!"
ls -lh coverage/test-run-coverage.json
else
echo "❌ test-run-coverage.json file missing - NYC merge failed in Docker container"
fi
else
echo "❌ No coverage data files found in coverage/.nyc_output"
fi
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 && ls -la coverage/.nyc_output && nyc merge coverage/.nyc_output ./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 '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",
"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