Skip to content

Commit

Permalink
Merge pull request #3292 from davidhewitt/valgrind-build-full
Browse files Browse the repository at this point in the history
ci: run valgrind and careful with 'CI-build-full' label
  • Loading branch information
messense authored Jul 4, 2023
2 parents 53b98db + f5d4083 commit 849b699
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ jobs:
extra-features: "multiple-pymethods"

valgrind:
if: ${{ github.event_name != 'pull_request' && github.ref != 'refs/heads/main' }}
if: ${{ contains(github.event.pull_request.labels.*.name, 'CI-build-full') || (github.event_name != 'pull_request' && github.ref != 'refs/heads/main') }}
needs: [fmt]
runs-on: ubuntu-latest
steps:
Expand All @@ -274,7 +274,7 @@ jobs:
TRYBUILD: overwrite

careful:
if: ${{ github.event_name != 'pull_request' && github.ref != 'refs/heads/main' }}
if: ${{ contains(github.event.pull_request.labels.*.name, 'CI-build-full') || (github.event_name != 'pull_request' && github.ref != 'refs/heads/main') }}
needs: [fmt]
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 849b699

Please sign in to comment.