diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 8cabd7c8..5a935974 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,18 @@ 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