From 7e098c3d106095833b0913828049403cd3e6ed84 Mon Sep 17 00:00:00 2001 From: Melissa DeLucchi <113376043+delucchi-cmu@users.noreply.github.com> Date: Thu, 17 Oct 2024 09:53:14 -0400 Subject: [PATCH] Remove locally-created package before publishing. (#409) --- .github/workflows/publish-to-pypi.yml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/publish-to-pypi.yml b/.github/workflows/publish-to-pypi.yml index ca15234a..f96b2791 100644 --- a/.github/workflows/publish-to-pypi.yml +++ b/.github/workflows/publish-to-pypi.yml @@ -32,13 +32,9 @@ jobs: python -m pip install --upgrade pip pip install . - name: Create lock requirements file - run: pip list --format=freeze --exclude "hats-import" > requirements.txt - - name: Install dev dependencies - run: pip install .[dev] - - name: Run unit tests with pytest - run: python -m pytest tests - - name: Run dask-on-ray tests with pytest - run: python -m pytest tests --use_ray + run: | + pip list --format=freeze --exclude "hats-import" > requirements.txt + pip uninstall -y hats-import - name: Install build tools run: pip install build - name: Build package