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

fix(build_docs.py): filter benchmark artifacts by branch #1330

Merged
merged 2 commits into from
Aug 7, 2023

Conversation

wpbonelli
Copy link
Contributor

The GitHub API list artifacts endpoint does not provide a way to filter by the branch an artifact was produced from, and will return all artifacts for a repo, even those produced by open PR runs. The distribution/build_docs.py script previously just took the first artifact named run-time-comparison it could find. This broke the nightly build full distribution tests — an artifact from #1328 was picked up despite its contents being named differently/incompatibly with the current state of develop. Add a filter to make sure the artifact used in build_docs.py was produced by a workflow run on develop .

@wpbonelli wpbonelli marked this pull request as ready for review August 7, 2023 14:52
@wpbonelli wpbonelli merged commit 11089fe into MODFLOW-USGS:develop Aug 7, 2023
45 checks passed
@wpbonelli wpbonelli deleted the fix-build-docs branch August 7, 2023 15:55
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