Skip to content

Commit

Permalink
switch back to nyc
Browse files Browse the repository at this point in the history
  • Loading branch information
shunjizhan committed Sep 18, 2024
1 parent 10b2ca4 commit 1efe9f4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 236 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: coverage/lcov.info
# files: ./coverage/lcov.info
fail_ci_if_error: true


5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
"build": "tsc",
"dev": "ts-node-dev --respawn src/index.ts | pino-pretty --singleLine --colorize --ignore time,hostname,ip",
"start": "node dist/index.js",
"start:coverage": "pm2 start --name relayer 'c8 node -r ts-node/register src/index.ts' && ./scripts/health-check.sh",
"start:coverage": "pm2 start --name relayer 'nyc node -r ts-node/register src/index.ts' && ./scripts/health-check.sh",
"stop:coverage": "pm2 stop relayer && pm2 delete relayer",
"start:test-infra": "docker compose up",
"test": "vitest src/__tests__/xcm.test.ts --singleThread --run",
"test": "vitest src/__tests__/*.test.ts --singleThread --run",
"test:coverage": "yarn start:coverage && yarn test && yarn stop:coverage",
"test:ci": "yarn start:test-infra -d; yarn test:coverage",
"clean": "rm -rf coverage .nyc_output dist/"
Expand All @@ -32,7 +32,6 @@
"@polkadot/api": "^10.9.1",
"axios": "^0.26.1",
"bech32": "^2.0.0",
"c8": "^10.1.2",
"cors": "^2.8.5",
"dotenv": "^16.0.3",
"envalid": "^8.0.0",
Expand Down
Loading

0 comments on commit 1efe9f4

Please sign in to comment.