Skip to content

Commit

Permalink
removed tests from wheels, which should depend on test running succes…
Browse files Browse the repository at this point in the history
…sfully
  • Loading branch information
calbaker committed Dec 20, 2023
1 parent deeb32b commit d12e5a7
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions .github/workflows/wheels.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,7 @@ jobs:
- run: rustup target add aarch64-apple-darwin
if: matrix.os == 'macos'

- name: run cargo tests
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly
override: true
- run: cd rust/ && cargo test
# no need to run cargo or python tests because dependence on test workflow should take care of this

- name: install python dependencies
run: pip install -U maturin wheel twine cibuildwheel
Expand All @@ -68,8 +62,6 @@ jobs:
CIBW_BUILD: "cp3${{ matrix.python-version }}-*"
CIBW_SKIP: "*-win32 *-musllinux* *i686 *ppc64le *s390x *aarch64"
CIBW_PLATFORM: ${{ matrix.platform || matrix.os }}
CIBW_TEST_REQUIRES: "pytest"
CIBW_TEST_COMMAND: "pytest {project}/python -s"
CIBW_ENVIRONMENT: 'PATH="$HOME/.cargo/bin:$PATH"'
CIBW_ENVIRONMENT_WINDOWS: 'PATH="$UserProfile\.cargo\bin;$PATH"'
CIBW_ARCHS_MACOS: 'universal2'
Expand Down

0 comments on commit d12e5a7

Please sign in to comment.