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

Add separate workflows for building and publishing Python package #4

Merged
merged 9 commits into from
Sep 20, 2024

Conversation

iosefa
Copy link
Owner

@iosefa iosefa commented Sep 20, 2024

Introduced a new GitHub Actions workflow for publishing the Python package to PyPI. The existing workflow was updated to focus solely on building and testing the package using Miniconda and pytest.

Introduced a new GitHub Actions workflow for publishing the Python package to PyPI. The existing workflow was updated to focus solely on building and testing the package using Miniconda and pytest.
Included the conda-forge channel in the conda setup to ensure consistent package versions. Updated both the `setup-conda` action and the conda environment creation command accordingly.
Combine steps for activating the Conda environment and installing dependencies into one. Update the test running step to activate the environment before running pytest.
Upgraded the Python version from 3.8 to 3.9 in the GitHub workflow, README, and setup.py files. This change ensures compatibility with the latest Python features and libraries. Deleted the unnecessary test_data/output.tif file.
Switched the GitHub Actions workflow, README, and setup.py to require Python 3.10 instead of 3.9. This ensures consistency in the development environment and takes advantage of the latest features of Python.
Updated the Python version specification from "310" to "3.10" in the GitHub Actions workflow configuration. This change ensures the correct Python version is used during the setup of the Conda environment.
Combine Conda environment creation and dependency installation into a single step. This reduces the workflow steps and ensures a cleaner, more efficient setup process.
Separated conda environment creation from dependency installation. This allows for clearer steps and improves environment activation before running tests.
Upgraded the `setup-miniconda` GitHub Action from version 2 to version 3. This ensures compatibility with the latest features and improvements. Also, standardized the `python-version` field to a string type.
@iosefa iosefa merged commit 4071c93 into main Sep 20, 2024
1 check passed
@iosefa iosefa deleted the hotfix/gh-actions branch September 20, 2024 21:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant