From c4492213c0138cd19ef97527fb649d1df3c9d02d Mon Sep 17 00:00:00 2001 From: Nicolas Hug Date: Sat, 10 Aug 2024 16:23:36 +0100 Subject: [PATCH] Only run 'extended' test if `run-extended` label is set (#8579) --- .github/workflows/tests.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 533a44a9e84..93d6afb00d5 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -139,6 +139,7 @@ jobs: unittests-extended: uses: pytorch/test-infra/.github/workflows/linux_job.yml@main + if: contains(github.event.pull_request.labels.*.name, 'run-extended') with: repository: pytorch/vision test-infra-ref: main