Skip to content

Commit

Permalink
chore(ci): skip publishing coverage to coveralls when label is set (#…
Browse files Browse the repository at this point in the history
…1524)

If pull request contains 'skip-coverage' label, skip publish data
to coveralls.
  • Loading branch information
BartoszCiesla authored Feb 13, 2025
1 parent fa6bda8 commit a76c924
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ jobs:
run: source <(cargo llvm-cov show-env --export-prefix) && cargo llvm-cov report --lcov --output-path coverage.lcov --ignore-filename-regex '(bench\/|integration\/|tools\/|tpc\/)'

- name: Upload code to Coveralls
if: ${{ !contains(github.event.pull_request.labels.*.name, 'skip-coverage') }}
uses: coverallsapp/github-action@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit a76c924

Please sign in to comment.