diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 8cabd7c8..e781a5a5 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -7,7 +7,6 @@ on: paths-ignore: - 'LICENSE.md' - 'README.md' - - '.zenodo.json' - '.github/workflows/CompatHelper.yml' - '.github/workflows/TagBot.yml' - 'docs/**' @@ -15,16 +14,17 @@ on: paths-ignore: - 'LICENSE.md' - 'README.md' - - '.zenodo.json' - '.github/workflows/CompatHelper.yml' - '.github/workflows/TagBot.yml' - 'docs/**' workflow_dispatch: + concurrency: # Skip intermediate builds: always. # Cancel intermediate builds: only if it is a pull request build. group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }} + jobs: test: if: "!contains(github.event.head_commit.message, 'skip ci')" @@ -55,7 +55,19 @@ jobs: - uses: codecov/codecov-action@v3 with: files: lcov.info - #- uses: coverallsapp/github-action@master - # with: - # github-token: ${{ secrets.GITHUB_TOKEN }} - # path-to-lcov: ./lcov.info + - uses: coverallsapp/github-action@master + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + flag-name: run-${{ matrix.os }}-${{ matrix.version }}-${{ matrix.arch }}-${{ github.run_id }} + parallel: true + path-to-lcov: ./lcov.info + + finish: + needs: test + runs-on: ubuntu-latest + steps: + - name: Coveralls Finished + uses: coverallsapp/github-action@master + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + parallel-finished: true diff --git a/README.md b/README.md index d48980fb..3073527b 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,7 @@ [![Stable](https://img.shields.io/badge/docs-stable-blue.svg)](https://JoshuaLampert.github.io./DispersiveShallowWater.jl/stable/) [![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) +[![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)