From c1d6ff2a7af7a3f9ab81f83c22ccc16bc3dbabf0 Mon Sep 17 00:00:00 2001 From: Sammy Sidhu Date: Mon, 18 Sep 2023 22:46:16 -0700 Subject: [PATCH] run tests in CI --- .github/workflows/python-publish.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index b6467b1a0f..2afaeb513c 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -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 @@ -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