Skip to content

🐍 Geometric Computer Vision Library for Spatial AI

Update `nightly` labeled condition (#2140)

João Gustavo A. Amorim43f338dd9fab
diff --git a/.github/workflows/pr_test_cpu.yml b/.github/workflows/pr_test_cpu.yml
index 38dbefa5d..2003aeb80 100644
--- a/.github/workflows/pr_test_cpu.yml
+++ b/.github/workflows/pr_test_cpu.yml
@@ -42,7 +42,7 @@ jobs:
continue-on-error: ${{ contains('float16', matrix.pytorch-dtype) }} # Remove this when float16 stop raising errors
tests-nightly:
- if: ${{ github.event.label.name == 'nightly' }}
+ if: contains(github.event.pull_request.labels.*.name, 'nightly')
name: ${{ matrix.os }} - python-${{ matrix.python-version }}, torch-nightly, ${{ matrix.pytorch-dtype }}
strategy: