Skip to content

Commit de9b8d1

Browse files
committed
Actually use updated rust toolchain for Python tests
And make rust version selection more verbose so we can debug potential future issues easier.
1 parent 93b70c6 commit de9b8d1

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

.github/workflows/python.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,9 @@ jobs:
6666
- name: Build wheels
6767
uses: PyO3/maturin-action@v1
6868
with:
69+
before-script-linux: |
70+
rustup show active-toolchain
71+
rustc --version
6972
target: ${{ matrix.platform.target }}
7073
args: --release --out dist --find-interpreter
7174
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
@@ -80,7 +83,14 @@ jobs:
8083
shell: bash
8184
run: |
8285
set -e
86+
rustup show active-toolchain
87+
rustc --version
8388
rustup install --profile=minimal stable
89+
rustup show active-toolchain
90+
rustc --version
91+
rustup default stable
92+
rustup show active-toolchain
93+
rustc --version
8494
python3 -m venv .venv
8595
source .venv/bin/activate
8696
pip install reclass-rs --find-links dist --force-reinstall

0 commit comments

Comments
 (0)