Skip to content

Commit 559be7a

Browse files
committed
fix(python): test
1 parent a5124c8 commit 559be7a

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

.github/workflows/_build_python_wheels.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,14 @@ on:
4545

4646
jobs:
4747
linux:
48-
runs-on: ubuntu-latest
48+
runs-on: ${{ matrix.runner }}
4949
strategy:
5050
matrix:
51-
target: [x86_64, aarch64]
51+
include:
52+
- target: x86_64
53+
runner: ubuntu-latest
54+
- target: aarch64
55+
runner: ubuntu-24.04-arm
5256
steps:
5357
- name: Download latest copy script from master
5458
if: inputs.use_latest_ci
@@ -90,8 +94,8 @@ jobs:
9094
yum install -y perl-IPC-Cmd
9195
fi
9296
python3 -m pip --version || python3 -m ensurepip
93-
manylinux: "2_28"
94-
args: --release --out dist --interpreter python3.8 python3.9 python3.10 python3.11 python3.12 python3.13
97+
manylinux: ${{ matrix.target == 'aarch64' && 'auto' || '2_34' }}
98+
args: --release --out dist --interpreter python3.12 python3.13
9599
sccache: "true"
96100

97101
- name: Upload wheels

.github/workflows/publish.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,9 @@ jobs:
107107
echo "🔍 Verifying commit is on master branch..."
108108
git fetch origin master --depth=1000
109109
110-
if git merge-base --is-ancestor "$COMMIT" origin/master; then
110+
if ${{ inputs.dry_run }}; then
111+
echo "🌵 Dry run, skipping master branch check"
112+
elif git merge-base --is-ancestor "$COMMIT" origin/master; then
111113
echo "✅ Commit is on master branch"
112114
else
113115
echo "❌ ERROR: Commit $COMMIT is not on the master branch!"

0 commit comments

Comments
 (0)