Skip to content

Commit

Permalink
Remove locally-created package before publishing. (#409)
Browse files Browse the repository at this point in the history
  • Loading branch information
delucchi-cmu authored Oct 17, 2024
1 parent 9038724 commit 7e098c3
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/publish-to-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7e098c3

Please sign in to comment.