Skip to content

Split conda test out into separate workflow#522

Merged
JoeZiminski merged 11 commits into
mainfrom
split-conda-install-tesitng
Jun 16, 2025
Merged

Split conda test out into separate workflow#522
JoeZiminski merged 11 commits into
mainfrom
split-conda-install-tesitng

Conversation

@JoeZiminski
Copy link
Copy Markdown
Member

@JoeZiminski JoeZiminski commented Jun 13, 2025

Further to #393 the workflows were changed to install through conda and only install datashuttle from the repository. This was because conda is the recommended install method so it made sense to test all dependencies were playing nice together when installed through conda.

In practice, this doesn't work because if a dependency is changed in a PR, it's not updated in the tests because the tests are pulling the old dependencies from conda. So, this PR reverts this behavior and installs from source for testing. Second to this, a new workflow is added that does a basic check for the conda install (just install and --datashuttle help) to once weekly on a cron job. This should be sufficient to flag any dependency issues. It is not necessary to run all tests, as the full test suite is run on the conda-side when a new version is released on conda.

No tests or docs are required.

@JoeZiminski JoeZiminski requested a review from a team June 16, 2025 12:26
@niksirbi niksirbi requested review from niksirbi and removed request for a team June 16, 2025 12:36
Copy link
Copy Markdown
Member

@niksirbi niksirbi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good @JoeZiminski. I've added a few optional comments.

Comment thread .github/workflows/code_test_and_deploy.yml Outdated
Comment thread .github/workflows/conda_install_check.yml Outdated
Comment thread .github/workflows/conda_install_check.yml Outdated
@JoeZiminski
Copy link
Copy Markdown
Member Author

Thanks @niksirbi!

@JoeZiminski JoeZiminski changed the title Split workflows to test from pip vs. conda install. Split conda test out into separate workflow Jun 16, 2025
@JoeZiminski JoeZiminski merged commit bf81924 into main Jun 16, 2025
16 checks passed
@JoeZiminski JoeZiminski deleted the split-conda-install-tesitng branch June 16, 2025 16:20
@JoeZiminski JoeZiminski added this to the v2.7.0 milestone Jun 17, 2025
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.

2 participants