From 6c053f55dcc4c5c9036d7af0bb9b2b9eab844c59 Mon Sep 17 00:00:00 2001 From: CrazyMax Date: Tue, 8 Sep 2020 23:34:53 +0200 Subject: [PATCH] Add Codecov Signed-off-by: CrazyMax --- .github/workflows/test.yml | 14 +++++++------- README.md | 1 + 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c1438b6..079dc9c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -23,10 +23,10 @@ jobs: - name: Test run: yarn run test -# - -# name: Upload coverage -# uses: codecov/codecov-action@v1.0.7 -# if: success() -# with: -# token: ${{ secrets.CODECOV_TOKEN }} -# file: ./coverage/clover.xml + - + name: Upload coverage + uses: codecov/codecov-action@v1.0.7 + if: success() + with: + token: ${{ secrets.CODECOV_TOKEN }} + file: ./coverage/clover.xml diff --git a/README.md b/README.md index 31360db..3a6d51a 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,7 @@ [![GitHub marketplace](https://img.shields.io/badge/marketplace-docker--build--push-blue?logo=github&style=flat-square)](https://github.com/marketplace/actions/docker-build-push) [![CI workflow](https://img.shields.io/github/workflow/status/docker/build-push-action/ci?label=ci&logo=github&style=flat-square)](https://github.com/docker/build-push-action/actions?workflow=ci) [![Test workflow](https://img.shields.io/github/workflow/status/docker/build-push-action/test?label=test&logo=github&style=flat-square)](https://github.com/docker/build-push-action/actions?workflow=test) +[![Codecov](https://img.shields.io/codecov/c/github/docker/build-push-action?logo=codecov&style=flat-square)](https://codecov.io/gh/docker/build-push-action) ## About