From a98999d27d3104341997303b74ec82633be1eb05 Mon Sep 17 00:00:00 2001 From: CrazyMax Date: Thu, 27 Aug 2020 17:41:10 +0200 Subject: [PATCH] Enable Codecov and upload coverage 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 f3e91a3..b559954 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -37,10 +37,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 1731102..a30a1c4 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,7 @@ [![GitHub marketplace](https://img.shields.io/badge/marketplace-docker--setup--buildx-blue?logo=github&style=flat-square)](https://github.com/marketplace/actions/docker-setup-buildx) [![CI workflow](https://img.shields.io/github/workflow/status/docker/setup-buildx-action/ci?label=ci&logo=github&style=flat-square)](https://github.com/docker/setup-buildx-action/actions?workflow=ci) [![Test workflow](https://img.shields.io/github/workflow/status/docker/setup-buildx-action/test?label=test&logo=github&style=flat-square)](https://github.com/docker/setup-buildx-action/actions?workflow=test) +[![Codecov](https://img.shields.io/codecov/c/github/docker/setup-buildx-action?logo=codecov&style=flat-square)](https://codecov.io/gh/docker/setup-buildx-action) ## About