Skip to content
This repository has been archived by the owner on Aug 2, 2023. It is now read-only.

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
yiyione committed Jun 14, 2020
1 parent b2276a8 commit 7662b3c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/code_coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ jobs:
run: |
npm install
npm run code-coverage
mkdir coverage
npm run coveralls
- name: Coveralls GitHub Action
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@
"format": "prettier --write \"src/**/*.ts\" \"src/**/*.js\"",
"lint": "tslint -p tsconfig.json",
"pretest": "npm run preapi-test && tslint --config tslint.json --project tsconfig.json",
"test": "mocha -r ts-node/register -r tsconfig-paths/register -r source-map-support/register --recursive tests/unit_tests/**/*.spec.ts",
"test": "mocha -r ts-node/register -r tsconfig-paths/register -r source-map-support/register tests/unit_tests/**/*.spec.ts",
"preapi-test": "ts-node -r tsconfig-paths/register tests/common/apiTestCaseGenerator.ts -- \"src/api/v2/swagger.yaml\" \".tests/apiTestCase.json\"",
"api-test": "mocha -r ts-node/register -r tsconfig-paths/register tests/api_tests/**/*.spec.ts -t 20000",
"mock-api-test": "npm run preapi-test && mocha -r ts-node/register -r tsconfig-paths/register tests/unit_tests/v2/v2.spec.ts",
"prebuild": "tslint --config tslint.json --project tsconfig.build.json",
"build": "ttsc -p tsconfig.json && npm run copy-swagger",
"copy-swagger": "node copy_swagger.js",
"precode-coverage": "npm run build && npm run pretest",
"code-coverage": "nyc mocha -r ts-node/register -r tsconfig-paths/register -r source-map-support/register --recursive tests/unit_tests/**/*.spec.ts",
"code-coverage": "nyc mocha -r ts-node/register -r tsconfig-paths/register -r source-map-support/register tests/unit_tests/**/*.spec.ts",
"coveralls": "nyc report --reporter=text-lcov > coverage/lcov.info"
},
"homepage": "https://github.com/Microsoft/openpaisdk",
Expand Down

0 comments on commit 7662b3c

Please sign in to comment.