From 9a5792a33d1c0f68ee03ee00b685ee6f01cc5aa9 Mon Sep 17 00:00:00 2001 From: veenstrajelmer <60435591+veenstrajelmer@users.noreply.github.com> Date: Tue, 13 Feb 2024 08:46:40 +0100 Subject: [PATCH] chore: Add codecov support to ci.yml and badge to readme (#604) --- .github/workflows/ci.yml | 2 ++ README.md | 1 + 2 files changed, 3 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3a4fa9721..33e698094 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -53,3 +53,5 @@ jobs: git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/$GITHUB_REPOSITORY git checkout $GITHUB_HEAD_REF git commit -am "autoformat: isort & black" && git push || true + + - uses: codecov/codecov-action@v1 \ No newline at end of file diff --git a/README.md b/README.md index a6ba463ae..13550ae26 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,7 @@ [![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black) [![ci](https://github.com/Deltares/HYDROLIB-core/actions/workflows/ci.yml/badge.svg)](https://github.com/Deltares/HYDROLIB-core/actions/workflows/ci.yml) [![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=Deltares_HYDROLIB-core&metric=alert_status)](https://sonarcloud.io/dashboard?id=Deltares_HYDROLIB-core) +[![codecov](https://img.shields.io/codecov/c/github/deltares/HYDROLIB-core.svg?style=flat-square)](https://app.codecov.io/gh/deltares/HYDROLIB-core?displayType=list) # HYDROLIB-core