Skip to content

Commit

Permalink
Use codecov action for coverage (#4046)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukastaegert committed Apr 15, 2021
1 parent ef807c9 commit a4a3b8a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 114 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/tests.yml
Expand Up @@ -25,15 +25,16 @@ jobs:
run: npm run ci:coverage
env:
CI: true
- uses: codecov/codecov-action@v1
with:
commit_parent: ${{ github.event.pull_request.head.sha }}

linux12:
runs-on: ubuntu-latest
name: Node 12 + Extra Tests (Linux)
steps:
- name: Checkout Commit
uses: actions/checkout@v2
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Setup Node
uses: actions/setup-node@v2
with:
Expand All @@ -55,8 +56,6 @@ jobs:
steps:
- name: Checkout Commit
uses: actions/checkout@v2
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Setup Node
uses: actions/setup-node@v2
with:
Expand All @@ -79,8 +78,6 @@ jobs:
run: git config --global core.autocrlf false
- name: Checkout Commit
uses: actions/checkout@v2
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Setup Node
uses: actions/setup-node@v2
with:
Expand Down
106 changes: 0 additions & 106 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions package.json
Expand Up @@ -15,7 +15,7 @@
"ci:lint": "npm run lint:nofix",
"ci:test": "npm run build:cjs && npm run build:bootstrap && npm run test:all",
"ci:test:only": "npm run build:cjs && npm run build:bootstrap && npm run test:only",
"ci:coverage": "npm run build:cjs && nyc --reporter lcovonly mocha && codecov",
"ci:coverage": "npm run build:cjs && nyc --reporter lcovonly mocha",
"lint": "npm run lint:ts -- --fix && npm run lint:js -- --fix && npm run lint:markdown",
"lint:nofix": "npm run lint:ts && npm run lint:js && npm run lint:markdown",
"lint:ts": "tslint --project .",
Expand Down Expand Up @@ -79,7 +79,6 @@
"acorn-walk": "^8.0.2",
"buble": "^0.20.0",
"chokidar": "^3.5.1",
"codecov": "^3.8.1",
"colorette": "^1.2.1",
"core-js": "^3.8.3",
"date-time": "^3.1.0",
Expand Down

0 comments on commit a4a3b8a

Please sign in to comment.