Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bundle dependency requirements with release #381

Merged
merged 1 commit into from
Aug 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 13 additions & 3 deletions .github/workflows/publish-to-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ permissions:
contents: read

jobs:
deploy:

test-and-deploy:
runs-on: ubuntu-latest
permissions:
id-token: write
Expand All @@ -29,8 +28,19 @@ jobs:
python-version: '3.10'
- name: Install dependencies
run: |
sudo apt-get update
python -m pip install --upgrade pip
pip install build
pip install .
- name: Create lock requirements file
run: pip list --format=freeze --exclude "hipscat-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
- name: Install build tools
run: pip install build
- name: Build package
run: python -m build
- name: Publish package
Expand Down
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
include requirements.txt