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

[Artifacts] Add tests for E2E artifact upload #1497

Merged
merged 14 commits into from
Aug 17, 2023

Conversation

konradpabjan
Copy link
Contributor

@konradpabjan konradpabjan commented Aug 17, 2023

See the output of: https://github.com/actions/toolkit/actions/runs/5892906514?pr=1497

image

Whenever making artifact related changes we want to run upload, list, download end-to-end to make sure we aren't breaking anything.

I've re-enabled artifact-tests.yml which was disabled once we started working on v2.0.0 and these changes now make sure that upload successfully works end to end.

In a future PR I plan on calling the list artifacts API to make sure the uploaded artifacts show up successfully

@konradpabjan
Copy link
Contributor Author

Once again failing unit tests are unrelated. See #1488 (comment)

@konradpabjan konradpabjan marked this pull request as ready for review August 17, 2023 15:58
@konradpabjan konradpabjan requested review from a team as code owners August 17, 2023 15:58
@konradpabjan konradpabjan marked this pull request as draft August 17, 2023 16:13
@konradpabjan konradpabjan marked this pull request as ready for review August 17, 2023 16:25
Copy link
Contributor

@robherley robherley left a comment

Choose a reason for hiding this comment

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

👨‍🍳 beautiful

@konradpabjan konradpabjan merged commit 20afb1a into main Aug 17, 2023
10 of 13 checks passed
at-wat pushed a commit to at-wat/actions-toolkit that referenced this pull request Aug 31, 2023
* Add tests for E2E artifact upload

* Trigger Build

* Extra debug logs

* Debug dumping GitHub Context

* More logging

* Minor cleanup

* Trigger Build

* Unique artifact name

* Fix typo

* Fix

* Try using github-script

* Potential fix

* Cleanup

* More cleanup
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