Skip to content

Commit

Permalink
Update workflow and README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
clement-faure committed Apr 11, 2021
1 parent 27af786 commit b70b418
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/npm-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@ jobs:
- name: Unit tests coverage
run: yarn coverage:unit

- name: Upload coverage to Codecov
- name: Upload unit tests coverage to Codecov
# upload unit test code coverage only when merged in master
if: github.repository == 'clement-faure/mui-rhf' && (github.ref == 'refs/heads/master')
uses: codecov/codecov-action@v1
with:
flags: unittests # optional
Expand Down
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
<div align="center">

[![GitHub Workflow Status](https://img.shields.io/github/workflow/status/clement-faure/mui-rhf/npm-publish)](https://github.com/clement-faure/mui-rhf/actions/workflows/npm-publish.yaml)

[![codecov](https://codecov.io/gh/clement-faure/mui-rhf/branch/master/graph/badge.svg?token=6B35E5LUCT)](https://codecov.io/gh/clement-faure/mui-rhf)
[![codecov](https://img.shields.io/codecov/c/github/clement-faure/mui-rhf/master.svg)](https://codecov.io/gh/clement-faure/mui-rhf/branch/master)

Quickly build powerful forms using [Material UI](https://material-ui.com/) and [React Hook Form](https://react-hook-form.com/)

Expand Down

0 comments on commit b70b418

Please sign in to comment.