mirror of
https://github.com/coder/code-server.git
synced 2024-11-24 05:29:31 +03:00
feat: add ci step upload coverage report Codecov
This commit is contained in:
parent
537fbd040a
commit
bb0414e7bb
6
.github/workflows/ci.yaml
vendored
6
.github/workflows/ci.yaml
vendored
@ -18,6 +18,8 @@ jobs:
|
||||
prebuild:
|
||||
name: Pre-build checks
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
|
||||
steps:
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v2
|
||||
@ -57,6 +59,10 @@ jobs:
|
||||
run: yarn test:unit
|
||||
if: success()
|
||||
|
||||
- name: Upload coverage report to Codecov
|
||||
run: yarn coverage
|
||||
if: success()
|
||||
|
||||
build:
|
||||
name: Build
|
||||
needs: prebuild
|
||||
|
Loading…
Reference in New Issue
Block a user