diff --git a/taskcluster/config.yml b/taskcluster/config.yml index d9d32aac..ad507b13 100644 --- a/taskcluster/config.yml +++ b/taskcluster/config.yml @@ -43,3 +43,8 @@ workers: implementation: generic-worker os: windows worker-type: win11-64-24h2 + t-mac: + provisioner: 'releng-hardware' + implementation: generic-worker + os: macosx + worker-type: macos diff --git a/taskcluster/kinds/test/kind.yml b/taskcluster/kinds/test/kind.yml index 95adbfc7..63ac22f0 100644 --- a/taskcluster/kinds/test/kind.yml +++ b/taskcluster/kinds/test/kind.yml @@ -74,3 +74,17 @@ tasks: python3 -V && powershell -ExecutionPolicy ByPass -c 'irm https://astral.sh/uv/install.ps1 | iex' && ~/.local/bin/uv.exe run -m pytest -vv + + unit-mac: + description: "Run unit tests with python on macOS" + attributes: + platform: mac + worker-type: t-mac + treeherder: + platform: test-mac/opt + symbol: unit(py) + run: + command: >- + python3 -V && + curl -LsSf https://astral.sh/uv/install.sh | sh && + uv run -m pytest -vv