Skip to content

Commit 8504dad

Browse files
committed
feat(workflow): switch to linux only and test more than one cpu arch
1 parent e9be7d8 commit 8504dad

1 file changed

Lines changed: 5 additions & 13 deletions

File tree

.github/workflows/cross_platform_pytest.yaml

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

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

1516
steps:
1617
- uses: actions/checkout@v4
@@ -19,24 +20,15 @@ jobs:
1920
uses: actions/setup-python@v4
2021
with:
2122
python-version: ${{ matrix.python-version }}
22-
architecture: "x64"
23+
architecture: ${{ matrix.architecture }}
2324

2425
- name: Install dependencies
2526
run: pip install -e .[dev] --config-settings editable_mode=compat
2627

2728
- name: Install tailwind binary
2829
run: |
29-
OS_NAME="${{ matrix.os }}"
30-
OS_NAME="${OS_NAME%-latest}"
31-
32-
case "$OS_NAME" in
33-
ubuntu) OS_NAME="linux" ;;
34-
esac
35-
36-
echo "OS_NAME --> $OS_NAME" # debug debug debug debug debug debug debug debug debug debug debug debug
37-
38-
python scripts/binary.py pull $OS_NAME-x64
39-
python scripts/binary.py select $OS_NAME-x64
30+
python scripts/binary.py pull "linux-${{ matrix.architecture }}"
31+
python scripts/binary.py select "linux-${{ matrix.architecture }}"
4032
4133
- name: Run ruff and pytest
4234
run: |

0 commit comments

Comments
 (0)