Skip to content

Commit

Permalink
try add alluxiocommon pyo3 build
Browse files Browse the repository at this point in the history
  • Loading branch information
lucyge2022 committed Apr 26, 2024
1 parent 647e3ea commit a448110
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ jobs:
# cd /root/github/alluxiofs/rust/alluxiocommon && pytest

test:
# needs: alluxiocommon
name: Test
runs-on: ubuntu-latest
timeout-minutes: 10
Expand All @@ -80,10 +79,30 @@ jobs:
conda list
conda --version
# alluxiocommon related
- name: Build alluxiocommon wheels
uses: PyO3/maturin-action@v1
with:
target: ${{ runs-on }}
args: --release --out dist --find-interpreter --manifest-path rust/alluxiocommon/Cargo.toml
sccache: 'true'
manylinux: auto

- name: Install dependencies
run: |
pip install .[tests]
# - name: Run AlluxioCommon tests
# shell: bash
# run: |
# set -e
# pip install alluxiocommon --find-links dist --force-reinstall
# pip install pytest
# pytest -vv \
# --log-format="%(asctime)s %(levelname)s %(message)s" \
# --log-date-format="%H:%M:%S" \
# rust/alluxiocommon/tests/

- name: Run Alluxio FileSystem tests
run: |
pytest -vv \
Expand Down

0 comments on commit a448110

Please sign in to comment.