Skip to content

Commit

Permalink
run tests in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
samster25 committed Sep 19, 2023
1 parent c2e4168 commit c1d6ff2
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
uses: messense/maturin-action@v1
with:
target: x86_64
args: --profile release --out dist --sdist
args: --profile release --out dist --sdist # CHANGE THIS BACK TO LTO
env:
RUSTFLAGS: -C target-feature=+fxsr,+sse,+sse2,+sse3,+ssse3,+sse4.1,+sse4.2
- name: Build wheels - Linux x86
Expand Down Expand Up @@ -89,12 +89,12 @@ jobs:
env:
RUSTFLAGS: -Ctarget-cpu=apple-m1

# - name: Install and test built wheel - x86_64
# if: ${{ matrix.compile_arch == 'x86_64' }}
# run: |
# pip install -r requirements-dev.txt dist/${{ env.PACKAGE_NAME }}-*x86_64*.whl --force-reinstall
# rm -r daft
# pytest -v
- name: Install and test built wheel - x86_64
if: ${{ matrix.compile_arch == 'x86_64' }}
run: |
pip install -r requirements-dev.txt dist/${{ env.PACKAGE_NAME }}-*x86_64*.whl --force-reinstall
rm -r daft
pytest -v
- name: Upload wheels
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit c1d6ff2

Please sign in to comment.