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
2 changes: 1 addition & 1 deletion .github/actions/test-macos/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ runs:
echo "::endgroup::"

echo "::group::Run Python tests"
uv run python/tests/run.py -v
python -m unittest discover -v python/tests
echo "::endgroup::"

if ${{ inputs.toolkit != 'cpu' }} ; then
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ jobs:
matrix:
macos-target: ['14.0', '15.0', '26.2']
toolkit: ['cpu', 'metal', 'jit']
runs-on: 'macos-26'
runs-on: 'macos-26-xlarge'
needs: check_lint
steps:
- uses: actions/checkout@v7
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ jobs:
strategy:
matrix:
python-version: *pyver
runs-on: 'macos-26'
runs-on: 'macos-26-xlarge'
env: *build-env
steps:
- uses: actions/checkout@v7
Expand Down
4 changes: 1 addition & 3 deletions python/tests/mlx_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,7 @@ def __init__(self, *args, **kwargs):
# Do not exit in runTests
kwargs["exit"] = False
super().__init__(*args, **kwargs)

def runTests(self):
super().runTests()
# Do cleanup before exiting
mx.clear_streams()
sys.exit(0 if self.result.wasSuccessful() else 1)

Expand Down
Loading