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

Do not set test.fmf.name attribute if null #117

Merged
merged 1 commit into from
Feb 14, 2024

Conversation

thrix
Copy link
Contributor

@thrix thrix commented Feb 14, 2024

This is causing an issue for some of the users, if they do not set the plan regex:

Run sclorg/testing-farm-as-github-action@v2
19 Error: [
20  {
21    "code": "too_small",
22    "minimum": 1,
23    "type": "string",
24    "inclusive": true,
25    "exact": false,
26    "message": "String must contain at least 1 character(s)",
27    "path": [
28      "test",
29      "fmf",
30      "name"
31    ]
32  }
33]

From:

https://github.com/osbuild/bootc-image-builder/actions/runs/7874729084/job/21520477899?pr=194

@codecov-commenter
Copy link

codecov-commenter commented Feb 14, 2024

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (714c5e6) 99.37% compared to head (a0cb190) 99.17%.

Files Patch % Lines
src/action.ts 75.00% 1 Missing ⚠️

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #117      +/-   ##
==========================================
- Coverage   99.37%   99.17%   -0.21%     
==========================================
  Files           6        6              
  Lines         480      483       +3     
  Branches       52       53       +1     
==========================================
+ Hits          477      479       +2     
- Misses          3        4       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@phracek
Copy link
Member

phracek commented Feb 14, 2024

@jamacku Please review it. Thanks

Copy link
Member

@jamacku jamacku left a comment

Choose a reason for hiding this comment

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

@thrix Thanks for the PR; it looks OK.

Could you please run yarn && yarn run all and include the generated /dist files and formatted src/action.ts?

It should make CI happy.

@thrix thrix force-pushed the no-tmt-plan-regex branch from f20d35d to a0cb190 Compare February 14, 2024 11:53
This is causing an issue for some of the users, if they do not set the
plan regex:

```
Run sclorg/testing-farm-as-github-action@v2
19 Error: [
20  {
21    "code": "too_small",
22    "minimum": 1,
23    "type": "string",
24    "inclusive": true,
25    "exact": false,
26    "message": "String must contain at least 1 character(s)",
27    "path": [
28      "test",
29      "fmf",
30      "name"
31    ]
32  }
33]
```

From:

https://github.com/osbuild/bootc-image-builder/actions/runs/7874729084/job/21520477899?pr=194

Signed-off-by: Miroslav Vadkerti <mvadkert@redhat.com>
Copy link
Member

@jamacku jamacku left a comment

Choose a reason for hiding this comment

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

LGTM, Thanks

@phracek phracek merged commit 82d1bb9 into sclorg:main Feb 14, 2024
4 of 5 checks passed
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