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

Use Python version to make artifact name unique (1 line) #1899

Merged
merged 2 commits into from
Jun 11, 2024

Conversation

EmilyBourne
Copy link
Member

The updated version of upload-artifact means that you cannot upload multiple artifacts with the same name. This is problematic on the devel branch as the same job is run for multiple Python versions. The easy fix for this is to add the version to the artifact name. Local tests show that the artifacts can still be retrieved with a partial name.

@pyccel-bot
Copy link

pyccel-bot bot commented May 22, 2024

Hello again! Thank you for this new pull request 🤩.

Please begin by requesting your checklist using the command /bot checklist

@EmilyBourne
Copy link
Member Author

EmilyBourne commented May 22, 2024

Here is your checklist. Please tick items off when you have completed them or determined that they are not necessary for this pull request:

  • Write a clear PR description
  • Add tests to check your code works as expected
  • Update documentation if necessary
  • Update Changelog
  • Ensure any relevant issues are linked
  • Ensure new tests are passing

@EmilyBourne EmilyBourne marked this pull request as ready for review May 22, 2024 16:00
Copy link

@pyccel-bot pyccel-bot bot left a comment

Choose a reason for hiding this comment

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

Good job ! Your PR is using all the code it added/changed.

@pyccel-bot
Copy link

pyccel-bot bot commented May 22, 2024

Hey @pyccel/pyccel-dev ! @EmilyBourne has just created this great new pull request! Check it out and let me know what you think!

@pyccel-bot pyccel-bot bot requested a review from a team May 22, 2024 16:20
@EmilyBourne EmilyBourne changed the title Use Python version to make artifact name unique Use Python version to make artifact name unique (1 line) May 23, 2024
@EmilyBourne
Copy link
Member Author

This method has been successfully tested in pyccel/pyccel-cuda

@EmilyBourne EmilyBourne requested a review from jalalium May 28, 2024 09:32
@pyccel-bot pyccel-bot bot added Ready_for_review Received at least one approval. Requires review from senior developer and removed needs_initial_review labels May 28, 2024
@pyccel-bot
Copy link

pyccel-bot bot commented May 28, 2024

Hey @yguclu, @EmilyBourne, this PR is looking pretty good. @EmilyBourne and @jalalium think it is ready to merge. Could you add your expertise to confirm that this follows all the coding conventions and fits in Pyccel's future plans? Thanks 😄

@EmilyBourne
Copy link
Member Author

/bot run pr_tests

@github-actions github-actions bot marked this pull request as draft June 11, 2024 13:37
@pyccel-bot pyccel-bot bot removed the Ready_for_review Received at least one approval. Requires review from senior developer label Jun 11, 2024
@pyccel-bot
Copy link

pyccel-bot bot commented Jun 11, 2024

Unfortunately your PR is not passing the tests so it is not quite ready for review yet. Let me know when it is fixed with /bot mark as ready.

Copy link

@pyccel-bot pyccel-bot bot left a comment

Choose a reason for hiding this comment

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

Good job ! Your PR is using all the code it added/changed.

@EmilyBourne EmilyBourne marked this pull request as ready for review June 11, 2024 13:54
@EmilyBourne EmilyBourne merged commit ba3279e into devel Jun 11, 2024
11 checks passed
@EmilyBourne EmilyBourne deleted the ebourne_artifact_bug_fix branch June 11, 2024 13:55
Copy link

@pyccel-bot pyccel-bot bot left a comment

Choose a reason for hiding this comment

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

Good job ! Your PR is using all the code it added/changed.

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.

2 participants