Skip to content

Commit

Permalink
Reset pytest-unpack-upload procedures
Browse files Browse the repository at this point in the history
  • Loading branch information
zrezke committed Mar 18, 2024
1 parent fda10aa commit 5fb0a81
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -245,25 +245,19 @@ jobs:
if: matrix.platform == 'aarch64'
run: python3.8 -m maturin build --manifest-path rerun_py/Cargo.toml --release --no-default-features --features pypi --universal2 --out pre-dist

- name: Unpack the wheel
shell: bash
run: |
mkdir unpack-dist
wheel unpack pre-dist/*.whl --dest unpack-dist
- name: Upload wheels
uses: actions/upload-artifact@v3
with:
name: wheels
path: dist

- name: Install built wheel
run: |
${{ matrix.pip }} install depthai_viewer --find-links pre-dist --force-reinstall
pip install depthai_viewer --find-links pre-dist --force-reinstall
- name: Run tests
run: cd rerun_py/tests && pytest

- name: Unpack the wheel
shell: bash
run: |
mkdir unpack-dist
wheel unpack pre-dist/*.whl --dest unpack-dist
- name: Get the folder name
shell: bash
run: |
Expand All @@ -275,6 +269,12 @@ jobs:
mkdir dist
wheel pack unpack-dist/${{ env.pkg_folder }} --dest dist/
- name: Upload wheels
uses: actions/upload-artifact@v3
with:
name: wheels
path: dist

# ---------------------------------------------------------------------------

# See https://github.com/ncipollo/release-action
Expand Down

0 comments on commit 5fb0a81

Please sign in to comment.