Skip to content

Merge pull request #115 from lzear/lodash-es #314

Merge pull request #115 from lzear/lodash-es

Merge pull request #115 from lzear/lodash-es #314

Workflow file for this run

name: 'Code coverage'
on: [push]
jobs:
release:
name: Test coverage
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./votes
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '18'
cache: 'yarn'
- name: Install project dependencies
run: yarn --prefer-offline
- run: yarn test
- run: |
curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
chmod +x ./cc-test-reporter
./cc-test-reporter format-coverage -t lcov -o coverage/codeclimate.json coverage/lcov.info
./cc-test-reporter upload-coverage
env:
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
- run: ./tools/codacy-cov.sh
env:
CODACY_PROJECT_TOKEN: ${{ secrets.CODACY_PROJECT_TOKEN }}
- run: ./tools/codecov.sh
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}