ci: run full Python-version matrix on push, current-only on PRs (#40722)

Co-authored-by: Claude Code <noreply@anthropic.com>
This commit is contained in:
Evan Rusackas
2026-06-04 12:17:29 -07:00
committed by GitHub
parent 6f97d9817e
commit 80a3df3550
5 changed files with 13 additions and 5 deletions

View File

@@ -128,7 +128,9 @@ jobs:
id-token: write
strategy:
matrix:
python-version: ["current", "previous", "next"]
# Full version spread on push (master/release) + nightly; current only
# on PRs to cut runner cost (cross-version breaks are caught at merge).
python-version: ${{ github.event_name == 'pull_request' && fromJSON('["current"]') || fromJSON('["current", "previous", "next"]') }}
env:
PYTHONPATH: ${{ github.workspace }}
SUPERSET_CONFIG: tests.integration_tests.superset_test_config