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

OPSIM-1099. feature. Update and extend Github Actions workflows for CI. #9

Merged
merged 14 commits into from
Nov 15, 2023

Conversation

rhiannonlynne
Copy link
Member

@rhiannonlynne rhiannonlynne commented Nov 15, 2023

Update workflows

  • Tried Miniconda, and it's a few minutes slower than mamba forge so sticking with mamba forge for now
  • Moved pypi upload into workflow running unit tests (so tested on both Mac and Linux before upload)
  • Moved doc build out of workflow with unit tests and into its own workflow
  • Added cache of scheduler data to actions (this will run each night, to update cache)
  • Using cache in workflows for unit tests and doc builds. (ubuntu downloads were starting to fail, maybe for whatever mystery reason they were failing on schedview).

Added --update flag to scheduler_download_data so that updating only directories which are not in-sync with expected build keys will be updated; this lets us use a generic "rubin_sim_data" cache and just update what is necessary on the runner which needs it.
Did some updates to get docs to build better.

@rhiannonlynne
Copy link
Member Author

If this all looks good, then a merge to main + tag (v0.0.2.alpha?) should test upload to pypi.

@rhiannonlynne
Copy link
Member Author

Copy link
Member

@yoachim yoachim left a comment

Choose a reason for hiding this comment

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

That all looks like it works

@rhiannonlynne rhiannonlynne merged commit 50f50e2 into main Nov 15, 2023
6 of 7 checks passed
@rhiannonlynne rhiannonlynne deleted the tickets/OPSIM-1099 branch November 21, 2023 01:38
@rhiannonlynne rhiannonlynne changed the title Tickets/opsim 1099 OPSIM-1099. feature. Update and extend Github Actions workflows for CI. Jan 24, 2024
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