-
Notifications
You must be signed in to change notification settings - Fork 11
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
feat: allow specifying expected images directory #148
feat: allow specifying expected images directory #148
Conversation
Co-authored-by: bokuweb <bokuweb@bokuwebnoair.lan>
* test * test * test * test * fix: input
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.2 to 1.15.4. - [Release notes](https://github.com/follow-redirects/follow-redirects/releases) - [Commits](follow-redirects/follow-redirects@v1.15.2...v1.15.4) --- updated-dependencies: - dependency-name: follow-redirects dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: bokuweb <bokuweb12@gmail.com>
Bumps [undici](https://github.com/nodejs/undici) from 5.28.3 to 5.28.4. - [Release notes](https://github.com/nodejs/undici/releases) - [Commits](nodejs/undici@v5.28.3...v5.28.4) --- updated-dependencies: - dependency-name: undici dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* fix * fix
* fix: use artifact client for download * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix
* feat: Support retention days * test * test * test * remove test
This reverts commit 60a8105.
This way, it is not needed to find previous runs and download an artifact. Instead, the images are copied from the expected images directory and compared immediately.
@bokuweb friendly ping, any chance you might have capacity to look at this PR? 🙏 |
@kopancek thanks!i'l l check |
@bokuweb I think I addressed all of your comments. Would you be able to take another look when time allows? Thanks :) |
src/config.ts
Outdated
@@ -27,7 +28,10 @@ const validateGitHubToken = (githubToken: string | undefined) => { | |||
} | |||
}; | |||
|
|||
const validateImageDirPath = (path: string | undefined) => { | |||
const validateImageDirPath = (path: string | undefined, allowEmpty: boolean = false) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please remove allowEmpty
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated 👍
LGTM I'll merge into develop branch for now. |
meybe this PR is broken. I' ll revert it. |
This way, it is not needed to find previous runs and download an artifact. Instead, the images are copied from the expected images directory and compared immediately.