GitHub: allow skipping itest and changelog check with labels

This commit is contained in:
Oliver Gugger 2023-02-06 12:25:27 +01:00
parent 5d22d5eb6c
commit 6874582ed4
No known key found for this signature in database
GPG Key ID: 8E4256593F177720

View File

@ -188,6 +188,7 @@ jobs:
integration-test:
name: run itests
runs-on: ubuntu-latest
if: '!contains(github.event.pull_request.labels.*.name, ''no-itest'')'
strategy:
# Allow other tests in the matrix to continue if one fails.
fail-fast: false
@ -243,6 +244,7 @@ jobs:
windows-integration-test:
name: run windows itest
runs-on: windows-latest
if: '!contains(github.event.pull_request.labels.*.name, ''no-itest'')'
steps:
- name: git checkout
uses: actions/checkout@v3
@ -273,6 +275,7 @@ jobs:
new-integration-test:
name: run new itests
runs-on: ubuntu-latest
if: '!contains(github.event.pull_request.labels.*.name, ''no-itest'')'
strategy:
# Allow other tests in the matrix to continue if one fails.
fail-fast: false
@ -328,6 +331,7 @@ jobs:
new-windows-integration-test:
name: run new windows itest
runs-on: windows-latest
if: '!contains(github.event.pull_request.labels.*.name, ''no-itest'')'
steps:
- name: git checkout
uses: actions/checkout@v3
@ -381,6 +385,7 @@ jobs:
milestone-check:
name: check release notes updated
runs-on: ubuntu-latest
if: '!contains(github.event.pull_request.labels.*.name, ''no-changelog'')'
steps:
- name: git checkout
uses: actions/checkout@v3