Skip to content

Commit 5347de0

Browse files
let's try this for Mac
1 parent 4cba7a0 commit 5347de0

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/test.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,12 @@ jobs:
7373
enable-cache: true
7474
python-version: ${{ matrix.python-version }}
7575

76+
- name: Set Python environment for macOS
77+
if: runner.os == 'macOS'
78+
run: |
79+
# Use the Python from the activated virtual environment
80+
echo "PYO3_PYTHON=$(which python)" >> $GITHUB_ENV
81+
7682
- name: Run tests
7783
shell: bash
7884
env:

0 commit comments

Comments
 (0)