Skip to content

Commit

Permalink
ci: debug
Browse files Browse the repository at this point in the history
  • Loading branch information
joe-p committed Mar 8, 2025
1 parent d1b81aa commit b0768e1
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ jobs:
python-version: ${{ env.PYTHON_VERSION }}
cache: "pip" # caching pip dependencies

- name: pip install
run: |
cd packages/python/${{ env.CRATE }}
pip install ".[dev]"
Expand Down Expand Up @@ -132,7 +131,6 @@ jobs:

- name: Install pip-tools
env:
RUN: python${{ env.PYTHON_VERSION }} -m pip install pip-tools
run: docker exec build-container bash -c "$RUN"

- name: Install dependencies
Expand All @@ -148,14 +146,20 @@ jobs:
env:
RUN: |
cd /workspace/packages/python/${{ env.CRATE }}
python${{ env.PYTHON_VERSION }} -m maturin build --release --target ${{ env.TARGET }} --compatibility ${{ env.MANYLINUX }}
python${{ env.PYTHON_VERSION }} -m maturin build --release --target ${{ env.TARGET }} --compatibility ${{ env.MANYLINUX }} --features ffi_uniffi
run: docker exec build-container bash -c "$RUN"

- name: pip install wheel
env:
RUN: python${{ env.PYTHON_VERSION }} -m pip install /workspace/target/wheels/*.whl
run: docker exec build-container bash -c "$RUN"

- name: Debug module contents
env:
RUN: |
python${{ env.PYTHON_VERSION }} -c "import algo_models; print('Available attributes:', dir(algo_models))"
run: docker exec build-container bash -c "$RUN"

- name: pytest
env:
RUN: |
Expand Down

0 comments on commit b0768e1

Please sign in to comment.