22 lines
506 B
YAML
22 lines
506 B
YAML
name: Report Coverage
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v2
|
|
- name: Use Node.js latest
|
|
uses: actions/setup-node@v2-beta
|
|
with:
|
|
node-version: "*"
|
|
- name: Generate coverage report
|
|
run: |
|
|
make -j test-ci-coverage
|
|
- name: Upload coverage report
|
|
uses: codecov/codecov-action@v1
|
|
with:
|
|
token: ${{ secrets.CODECOV_TOKEN }}
|