Skip to content

Commit 71e738f

Browse files
committed
wip: ummmm
1 parent 42152a8 commit 71e738f

1 file changed

Lines changed: 12 additions & 5 deletions

File tree

.github/workflows/cross_platform_pytest.yaml

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,8 @@ jobs:
99

1010
strategy:
1111
matrix:
12-
os: [ubuntu-latest]
12+
os: [ubuntu-latest, macos-latest]
1313
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
14-
architecture: ["x64", "arm64"]
1514

1615
steps:
1716
- uses: actions/checkout@v4
@@ -20,15 +19,23 @@ jobs:
2019
uses: actions/setup-python@v4
2120
with:
2221
python-version: ${{ matrix.python-version }}
23-
architecture: ${{ matrix.architecture }}
2422

2523
- name: Install dependencies
2624
run: pip install -e .[dev] --config-settings editable_mode=compat
2725

2826
- name: Install tailwind binary
2927
run: |
30-
python scripts/binary.py pull "linux-${{ matrix.architecture }}"
31-
python scripts/binary.py select "linux-${{ matrix.architecture }}"
28+
OS_NAME="${{ matrix.os }}"
29+
OS_NAME="${OS_NAME%-latest}"
30+
31+
case "$OS_NAME" in
32+
ubuntu) OS_NAME="linux" ;;
33+
esac
34+
35+
echo "OS_NAME --> $OS_NAME" # debug debug debug debug debug debug debug debug debug debug debug debug
36+
37+
python scripts/binary.py pull $OS_NAME-${{ setup-python.architecture }}
38+
python scripts/binary.py select $OS_NAME-${{ setup-python.architecture }}
3239
3340
- name: Run ruff and pytest
3441
run: |

0 commit comments

Comments
 (0)