Skip to content

Commit

Permalink
feat(bindings/python): turn off manylinux to enable Swatinem/rust-cac…
Browse files Browse the repository at this point in the history
…he in test
  • Loading branch information
messense committed Mar 13, 2023
1 parent a3092fc commit 9937b2b
Showing 1 changed file with 7 additions and 11 deletions.
18 changes: 7 additions & 11 deletions .github/workflows/bindings_python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,25 +40,21 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.11'
- uses: Swatinem/rust-cache@v2
- uses: PyO3/maturin-action@v1
with:
manylinux: auto
manylinux: off
working-directory: "bindings/python"
command: build
args: --release --sdist -o dist --find-interpreter
- name: Upload wheels
uses: actions/upload-artifact@v3
with:
name: wheels
path: bindings/python/dist
- uses: actions/setup-python@v4
with:
python-version: '3.11'
args: --release --sdist -o dist
- name: Run pytest
working-directory: "bindings/python"
run: |
set -e
python -m pip install opendal --no-index --find-links dist
python -m pip install dist/opendal-*.whl
python -m pip install -r test_requirements.txt
python -m pytest
Expand Down

0 comments on commit 9937b2b

Please sign in to comment.