Skip to content

Commit

Permalink
feat: add macOS on GitLab
Browse files Browse the repository at this point in the history
  • Loading branch information
mayeut committed Jun 30, 2024
1 parent 5781e28 commit f3be3a8
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 1 deletion.
10 changes: 10 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,13 @@ windows:
- py bin\run_tests.py
tags:
- saas-windows-medium-amd64

macos:
image: macos-14-xcode-15
variables:
PYTEST_ADDOPTS: -k "unit_test or test_0_basic" --suppress-no-test-exit-code
script:
- python3 -m pip install -e ".[dev]" pytest-custom-exit-code
- python3 ./bin/run_tests.py
tags:
- saas-macos-medium-m1
2 changes: 1 addition & 1 deletion CI.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ This is a summary of the host Python versions and platforms covered by the diffe
| | 3.11 | 3.12 | 3.13 |
|---------|----------------------------------|---------------------------------------------------------|----------------|
| Linux | Azure Pipelines / GitHub Actions | AppVeyor¹ / CircleCI¹ / Cirrus CI / GitLab¹ / Travis CI | GitHub Actions |
| macOS | Azure Pipelines | AppVeyor¹ / CircleCI¹ / Cirrus CI / GitLab¹ / Travis CI | GitHub Actions |
| macOS | Azure Pipelines / GitLab¹ | AppVeyor¹ / CircleCI¹ / Cirrus CI / GitLab¹ / Travis CI | GitHub Actions |
| Windows | Azure Pipelines | AppVeyor¹ / Cirrus CI / GitLab¹ / Travis CI | GitHub Actions |

> ¹ Runs a reduced set of tests to reduce CI load
Expand Down
12 changes: 12 additions & 0 deletions examples/gitlab-minimal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,15 @@ windows:
- wheelhouse/
tags:
- saas-windows-medium-amd64

macos:
image: macos-14-xcode-15
before_script:
- python3 -m pip install cibuildwheel==2.19.1
script:
- python3 -m cibuildwheel --output-dir wheelhouse
artifacts:
paths:
- wheelhouse/
tags:
- saas-macos-medium-m1

0 comments on commit f3be3a8

Please sign in to comment.