ci: run valgrind and careful with 'CI-build-full' label

This commit is contained in:
David Hewitt 2023-07-03 21:20:49 +01:00
parent 53b98db682
commit f5d4083131

View file

@ -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:
@ -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: