Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 7 additions & 8 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,13 @@ jobs:
os:
- ubuntu-latest
- macos-latest
exclude:
# macOS runners are congested and limited in number
# only run macOS tests on latest stable Python version
- os: macos-latest
python-version: "3.12"
- os: macos-latest
python-version: "3.13"

steps:
- name: Get source
Expand Down Expand Up @@ -96,14 +103,6 @@ jobs:
- ci_workflow_suite
os:
- ubuntu-latest
- macos-latest
exclude:
# macOS tests are slower and congested
# only run macOS tests on latest stable Python version
- os: macos-latest
python-version: "3.12"
- os: macos-latest
python-version: "3.13"

steps:
- name: Get source
Expand Down
10 changes: 1 addition & 9 deletions .mergify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,7 @@ pull_request_rules:

# Unit tests
- check-success=unit (3.12, 1.75, ubuntu-latest)
- check-success=unit (3.12, 1.75, macos-latest)
- check-success=unit (3.13, 1.75, ubuntu-latest)
- check-success=unit (3.13, 1.75, macos-latest)
- check-success=unit (3.14, 1.75, ubuntu-latest)
- check-success=unit (3.14, 1.75, macos-latest)

Expand All @@ -56,19 +54,13 @@ pull_request_rules:
- check-success=e2e (3.13, 1.75, ci_config_suite, ubuntu-latest)
- check-success=e2e (3.13, 1.75, ci_specialized_suite, ubuntu-latest)
- check-success=e2e (3.13, 1.75, ci_workflow_suite, ubuntu-latest)
# Python 3.14 - Ubuntu + macOS (latest stable)
# Python 3.14 - Ubuntu only (macOS excluded)
- check-success=e2e (3.14, 1.75, ci_bootstrap_parallel_suite, ubuntu-latest)
- check-success=e2e (3.14, 1.75, ci_bootstrap_parallel_suite, macos-latest)
- check-success=e2e (3.14, 1.75, ci_bootstrap_suite, ubuntu-latest)
- check-success=e2e (3.14, 1.75, ci_bootstrap_suite, macos-latest)
- check-success=e2e (3.14, 1.75, ci_build_suite, ubuntu-latest)
- check-success=e2e (3.14, 1.75, ci_build_suite, macos-latest)
- check-success=e2e (3.14, 1.75, ci_config_suite, ubuntu-latest)
- check-success=e2e (3.14, 1.75, ci_config_suite, macos-latest)
- check-success=e2e (3.14, 1.75, ci_specialized_suite, ubuntu-latest)
- check-success=e2e (3.14, 1.75, ci_specialized_suite, macos-latest)
- check-success=e2e (3.14, 1.75, ci_workflow_suite, ubuntu-latest)
- check-success=e2e (3.14, 1.75, ci_workflow_suite, macos-latest)

# At least 1 reviewer from maintainers
- and:
Expand Down
1 change: 1 addition & 0 deletions e2e/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ source "$(hatch env find e2e)/bin/activate"
export FROMAGER_CONSTRAINTS_FILE="${SCRIPTDIR}/constraints.txt"

OS=$(uname)
# CI runs e2e tests on Linux only; the macOS branch is for local runs.
if [ "$OS" = "Darwin" ]; then
NETWORK_ISOLATION=""
# The tag comes back as something like "macosx-10.9-universal2" but the
Expand Down
13 changes: 0 additions & 13 deletions e2e/mergify_lint.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
test_scripts = set(matrix["test-script"])
print("found test scripts:\n ", "\n ".join(sorted(test_scripts)), sep="")
os_versions = list(sorted(matrix["os"]))
os_versions.remove("macos-latest")

e2e_dir = pathlib.Path("e2e")
# Look for CI suite scripts instead of individual test scripts
Expand Down Expand Up @@ -106,18 +105,6 @@
os_versions,
)
)
# for macOS, only expect latest Python version and latest Rust version
expected_jobs.update(
set(
str(combo).replace("'", "")
for combo in itertools.product(
python_versions[-1:],
rust_versions[-1:],
test_scripts,
["macos-latest"],
)
)
)
if not expected_jobs.difference(existing_jobs):
print("found rules for all expected jobs!")
for job_name in sorted(expected_jobs.difference(existing_jobs)):
Expand Down
1 change: 1 addition & 0 deletions e2e/test_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ VERSION="5.2.0"
pip install e2e/fromager_hooks

OS=$(uname)
# CI runs e2e tests on Linux only; the macOS branch is for local runs.
if [ "$OS" = "Darwin" ]; then
NETWORK_ISOLATION=""
else
Expand Down
Loading