Skip to content

Improve matrixing in GHA to work with SciTools/cartopy#2303#2313

Merged
greglucas merged 2 commits intoSciTools:mainfrom
trexfeathers:better_matrixing
Mar 9, 2024
Merged

Improve matrixing in GHA to work with SciTools/cartopy#2303#2313
greglucas merged 2 commits intoSciTools:mainfrom
trexfeathers:better_matrixing

Conversation

@trexfeathers
Copy link
Copy Markdown
Contributor

Rationale

When a test fails, image results are uploaded. Since actions/upload-artifact@v4 (#2303), it is the responsibility of the workflow YAML file to avoid name clashes in the artifacts. This PR makes sure that the whole matrix is included in the artifact name and path, avoiding clashes between matrix.shapely-dev true vs false.

Implications

Failures for ubuntu-latest, latest python will not result in one of the image uploads failing due to a name clash with the other.

@trexfeathers
Copy link
Copy Markdown
Contributor Author

Proof of concept - successful image uploads both here and here.

@greglucas greglucas requested a review from QuLogic February 14, 2024 03:31
@greglucas greglucas dismissed QuLogic’s stale review March 9, 2024 19:07

This has been included in a recent push

@greglucas greglucas merged commit 5a11408 into SciTools:main Mar 9, 2024
@QuLogic QuLogic added this to the Next Release milestone Mar 9, 2024
@trexfeathers
Copy link
Copy Markdown
Contributor Author

Thanks, people!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants