Skip to content

v0.8.1

v0.8.1 #302

name: test and coverage
on: push
jobs:
test_and_coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '16'
cache: npm
- name: Install dependencies
run: npm install --force
- name: Run the tests
run: npm test
- name: Code Climate Coverage Action
uses: paambaati/[email protected]
env:
CC_TEST_REPORTER_ID: f5fc2fbc071daa5dec408f54647a5d5ea0d72e8c568354e857f2b6028b1a0605
with:
coverageLocations: |
${{github.workspace}}/coverage/lcov.info:lcov
- name: Codecov
uses: codecov/codecov-action@v2
with:
directory: ./coverage/