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

feat: allow specifying expected images directory #148

Merged

Conversation

kopancek
Copy link
Contributor

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 and others added 30 commits November 8, 2023 09:37
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: 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
bokuweb and others added 6 commits June 17, 2024 11:46
)

Allows threshold-pixel value to be null as well, if not defined.
That way, when specifying threshold-rate, only the threshold-rate will
be applied. Otherwise threshold-rate does not have any effect, since
it will always be overriden by threshold-pixel that defaults to 0.
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.
@kopancek
Copy link
Contributor Author

kopancek commented Jul 2, 2024

@bokuweb friendly ping, any chance you might have capacity to look at this PR? 🙏

@bokuweb
Copy link
Member

bokuweb commented Jul 2, 2024

@kopancek thanks!i'l l check

src/comment.ts Outdated Show resolved Hide resolved
src/config.ts Outdated Show resolved Hide resolved
@kopancek
Copy link
Contributor Author

@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) => {
Copy link
Member

Choose a reason for hiding this comment

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

please remove allowEmpty

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updated 👍

src/config.ts Outdated Show resolved Hide resolved
@bokuweb bokuweb changed the base branch from main to dev July 17, 2024 00:27
@bokuweb bokuweb changed the base branch from dev to develop July 17, 2024 00:28
@bokuweb
Copy link
Member

bokuweb commented Jul 17, 2024

LGTM

I'll merge into develop branch for now.
You can try this feature in rc channel

@bokuweb bokuweb merged commit 37f4dd9 into reg-viz:develop Jul 17, 2024
0 of 2 checks passed
@bokuweb
Copy link
Member

bokuweb commented Jul 18, 2024

meybe this PR is broken. I' ll revert it.

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.

4 participants