Skip to content

Commit 429a7e0

Browse files
fixup! fixup! fixup! fixup! fixup! SNOW-2871291: Reduce number of jobs on PRs
1 parent 1ef36e5 commit 429a7e0

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

.github/workflows/build_test.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -357,8 +357,10 @@ jobs:
357357
strategy:
358358
fail-fast: false
359359
matrix:
360-
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
361-
cloud-provider: [aws]
360+
include: ${{ fromJSON(needs.define-matrix.outputs.test_matrix) }}
361+
exclude:
362+
- cloud-provider: gcp
363+
- cloud-provider: azure
362364
steps:
363365
- name: Set shortver
364366
run: echo "shortver=${longver//./}" >> $GITHUB_ENV

.github/workflows/generated_pr_matrix.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
{
33
"os": "ubuntu-latest",
44
"download_name": "manylinux_x86_64",
5-
"python-version": "3.10",
5+
"python-version": "3.9",
66
"cloud-provider": "aws"
77
},
88
{
@@ -14,7 +14,7 @@
1414
{
1515
"os": "macos-latest",
1616
"download_name": "macosx_x86_64",
17-
"python-version": "3.10",
17+
"python-version": "3.9",
1818
"cloud-provider": "azure"
1919
},
2020
{
@@ -26,7 +26,7 @@
2626
{
2727
"os": "windows-latest",
2828
"download_name": "win_amd64",
29-
"python-version": "3.10",
29+
"python-version": "3.9",
3030
"cloud-provider": "gcp"
3131
},
3232
{

ci/generate_full_matrix.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ class OperatingSystem(Enum):
5959
class Python(Enum):
6060
"""Available Python versions."""
6161

62-
PY39 = PythonVersion("3.9", test_on_pr=False)
63-
PY310 = PythonVersion("3.10", test_on_pr=True)
62+
PY39 = PythonVersion("3.9", test_on_pr=True)
63+
PY310 = PythonVersion("3.10", test_on_pr=False)
6464
PY311 = PythonVersion("3.11", test_on_pr=False)
6565
PY312 = PythonVersion("3.12", test_on_pr=False)
6666
PY313 = PythonVersion("3.13", test_on_pr=True)

0 commit comments

Comments
 (0)