From bf37a2463efb83de4a9f410e9fcf7669b8b3f279 Mon Sep 17 00:00:00 2001 From: Bartosz Sokorski Date: Wed, 4 Dec 2024 23:53:42 +0100 Subject: [PATCH] Make poetry export tests optional --- .github/workflows/.tests-matrix.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/.tests-matrix.yaml b/.github/workflows/.tests-matrix.yaml index c3869f1d572..dd5e131c5dc 100644 --- a/.github/workflows/.tests-matrix.yaml +++ b/.github/workflows/.tests-matrix.yaml @@ -75,7 +75,7 @@ jobs: pytest-export: name: pytest (poetry-plugin-export) runs-on: ${{ inputs.runner }} - if: inputs.run-pytest-export + if: ${{ inputs.run-pytest-export && contains(github.event.pull_request.labels.*.name, 'test poetry export')}} steps: - uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4 with: