From 5fb0a8139fe494a29dff54f0f9f0b03f65768de6 Mon Sep 17 00:00:00 2001 From: zrezke Date: Mon, 18 Mar 2024 19:08:27 +0100 Subject: [PATCH] Reset pytest-unpack-upload procedures --- .github/workflows/python.yml | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 7b5d3ce1eff3..b157cc2c8d2b 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -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: | @@ -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