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

🛠️ Adapt to actions/upload-artifact action to v4 #324

Conversation

keunhyung-chung
Copy link
Contributor

@keunhyung-chung keunhyung-chung commented Dec 22, 2023

⭐ What does this PR do?

🚀 What I've done

  • Update the README with the instructions

Copy link

End-to-end public repo

Copy link

Coverage report

Note

Coverage evolution disabled because this PR targets a different branch
than the default branch, for which coverage data is not available.

The coverage rate is 100%.
The branch rate is 100%.

None of the new lines are part of the tested code. Therefore, there is no coverage data about them.

@keunhyung-chung keunhyung-chung marked this pull request as ready for review December 22, 2023 05:50
@ewjoachim ewjoachim changed the base branch from renovate/major-deps-with-major-upgrades to main December 22, 2023 08:55
Copy link
Member

@ewjoachim ewjoachim left a comment

Choose a reason for hiding this comment

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

/e2e

@ewjoachim
Copy link
Member

ewjoachim commented Dec 22, 2023

damn it, there's a bug in our own workflow (oh the irony) keeping us from running end to end tests on your code :( I'll need to solve that.

Copy link
Member

@ewjoachim ewjoachim left a comment

Choose a reason for hiding this comment

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

/e2e

Copy link
Member

@ewjoachim ewjoachim left a comment

Choose a reason for hiding this comment

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

/e2e
(it's going to work in the end 🤞 )

Copy link
Member

@ewjoachim ewjoachim left a comment

Choose a reason for hiding this comment

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

/e2e

/whistle 😗 🎵
Everything's fine !

@ewjoachim
Copy link
Member

ewjoachim commented Dec 22, 2023

That's quite messed up. I trigger a workflow when I review this PR. I can't run the e2e tests in that workflow (for permission reasons. This workflow is linked to your fork and has limited rights. So far so good.). When that workflow ends, it triggers a second workflow. The second workflow is able to run the e2e tests, but it needs to know the PR number.
The 2nd workflow has access to the workflow_run event describing the 1st workflow and to the whole github API. Yet, for the life of me, I can't link the 1st workflow to this PR.

Because this PR and #314 share the same branch name, it seems GitHub is convinced that the workflow belongs to PR 314...

@keunhyung-chung
Copy link
Contributor Author

That's quite messed up. I trigger a workflow when I review this PR. I can't run the e2e tests in that workflow (for permission reasons. This workflow is linked to your fork and has limited rights. So far so good.). When that workflow ends, it triggers a second workflow. The second workflow is able to run the e2e tests, but it needs to know the PR number. The 2nd workflow has access to the workflow_run event describing the 1st workflow and to the whole github API. Yet, for the life of me, I can't link the 1st workflow to this PR.

Because this PR and #314 share the same branch name, it seems GitHub is convinced that the workflow belongs to PR 314...

@ewjoachim Thanks for the detailed explanation 👍. Is there any thing to do from my side?

Copy link
Member

@ewjoachim ewjoachim left a comment

Choose a reason for hiding this comment

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

Don't mind me.

Copy link
Member

@ewjoachim ewjoachim left a comment

Choose a reason for hiding this comment

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

/e2e

@ewjoachim
Copy link
Member

@ewjoachim Thanks for the detailed explanation 👍. Is there any thing to do from my side?

Haha, sorry. I'll just take your commits, put them in a differently-named branch, create a new PR and it "should" work.

Sorry for all the noise 😅

@ewjoachim
Copy link
Member

Closed by #326

@ewjoachim ewjoachim closed this Dec 23, 2023
@ewjoachim
Copy link
Member

ewjoachim commented Dec 23, 2023

Released: https://github.com/py-cov-action/python-coverage-comment-action/releases/tag/v3.16

Thank you ! <3
It was a pleasure receiving your contribution, and I'm sorry again that our internal tooling made things complicated. Feel free to contribute again someday (hopefully our CI will be 100% working by then)

@keunhyung-chung keunhyung-chung deleted the renovate/major-deps-with-major-upgrades branch March 21, 2024 10:09
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.

upload-artefact@v4 is incompatible with our advertised way of handling multiple python versions
2 participants