From 5cc7befb8444f659a1879478d11161cb785bc062 Mon Sep 17 00:00:00 2001 From: Joshua Lampert Date: Thu, 7 Dec 2023 13:07:06 +0100 Subject: [PATCH 1/2] add codecov badge --- .github/workflows/CI.yml | 2 ++ README.md | 1 + docs/src/index.md | 1 + 3 files changed, 4 insertions(+) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index d55df443..31f95ebb 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -65,6 +65,8 @@ jobs: - uses: codecov/codecov-action@v3 with: files: lcov.info + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} - uses: coverallsapp/github-action@master with: github-token: ${{ secrets.GITHUB_TOKEN }} diff --git a/README.md b/README.md index 16e9e07d..c5829ce9 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,7 @@ [![Docs-stable](https://img.shields.io/badge/docs-stable-blue.svg)](https://JoshuaLampert.github.io/DispersiveShallowWater.jl/stable) [![Docs-dev](https://img.shields.io/badge/docs-dev-blue.svg)](https://JoshuaLampert.github.io/DispersiveShallowWater.jl/dev/) [![Build Status](https://github.com/JoshuaLampert/DispersiveShallowWater.jl/actions/workflows/CI.yml/badge.svg?branch=main)](https://github.com/JoshuaLampert/DispersiveShallowWater.jl/actions/workflows/CI.yml?query=branch%3Amain) +[![codecov](https://codecov.io/gh/JoshuaLampert/DispersiveShallowWater.jl/graph/badge.svg)](https://codecov.io/gh/JoshuaLampert/DispersiveShallowWater.jl) [![Coveralls](https://coveralls.io/repos/github/JoshuaLampert/DispersiveShallowWater.jl/badge.svg?branch=main)](https://coveralls.io/github/JoshuaLampert/DispersiveShallowWater.jl?branch=main) [![Aqua QA](https://raw.githubusercontent.com/JuliaTesting/Aqua.jl/master/badge.svg)](https://github.com/JuliaTesting/Aqua.jl) [![License: MIT](https://img.shields.io/badge/License-MIT-success.svg)](https://opensource.org/licenses/MIT) diff --git a/docs/src/index.md b/docs/src/index.md index 966d634a..121505b1 100644 --- a/docs/src/index.md +++ b/docs/src/index.md @@ -3,6 +3,7 @@ [![Docs-stable](https://img.shields.io/badge/docs-stable-blue.svg)](https://JoshuaLampert.github.io/DispersiveShallowWater.jl/stable) [![Docs-dev](https://img.shields.io/badge/docs-dev-blue.svg)](https://JoshuaLampert.github.io/DispersiveShallowWater.jl/dev/) [![Build Status](https://github.com/JoshuaLampert/DispersiveShallowWater.jl/actions/workflows/CI.yml/badge.svg?branch=main)](https://github.com/JoshuaLampert/DispersiveShallowWater.jl/actions/workflows/CI.yml?query=branch%3Amain) +[![codecov](https://codecov.io/gh/JoshuaLampert/DispersiveShallowWater.jl/graph/badge.svg)](https://codecov.io/gh/JoshuaLampert/DispersiveShallowWater.jl) [![Coveralls](https://coveralls.io/repos/github/JoshuaLampert/DispersiveShallowWater.jl/badge.svg?branch=main)](https://coveralls.io/github/JoshuaLampert/DispersiveShallowWater.jl?branch=main) [![Aqua QA](https://raw.githubusercontent.com/JuliaTesting/Aqua.jl/master/badge.svg)](https://github.com/JuliaTesting/Aqua.jl) [![License: MIT](https://img.shields.io/badge/License-MIT-success.svg)](https://opensource.org/licenses/MIT) From 12fa437c18e37ca2364608b50190dd4b7397dd5b Mon Sep 17 00:00:00 2001 From: Joshua Lampert Date: Thu, 7 Dec 2023 13:08:33 +0100 Subject: [PATCH 2/2] fix codecov in CI.yml --- .github/workflows/CI.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 31f95ebb..0c28904a 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -65,8 +65,8 @@ jobs: - uses: codecov/codecov-action@v3 with: files: lcov.info - env: - CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} - uses: coverallsapp/github-action@master with: github-token: ${{ secrets.GITHUB_TOKEN }}