Workflow for uploading coverage to codecov (#2200)

This commit is contained in:
Andy Balaam
2022-02-24 14:40:20 +00:00
committed by GitHub
parent 4de1699c49
commit 946f47e037
+19
View File
@@ -0,0 +1,19 @@
name: Test coverage
on:
pull_request: {}
push:
branches: [develop, main, master]
jobs:
test-coverage:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Run tests with coverage
run: "yarn install && yarn build && yarn coverage"
- name: Upload coverage
uses: codecov/codecov-action@v2
with:
verbose: true