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

chore: fail on error by default #34

Merged
merged 1 commit into from
Jan 2, 2024

Conversation

giovanni-guidini
Copy link
Contributor

Until know the '--fail-on-error' option for create-commit and
create-report commands was dependent on a INPUTS_FAIL_ON_ERROR.

However INPUTS_FAIL_ON_ERROR is not a valid input (see action.yml).
Plus, it's not smart to NOT activate this feature, because ATS needs
all these commands to succeed to actually work.

So the present changes activate '--fail-on-error' by default for
create-commit and create-report commands.

Until know the '--fail-on-error' option for `create-commit` and
`create-report` commands was dependent on a `INPUTS_FAIL_ON_ERROR`.

However `INPUTS_FAIL_ON_ERROR` is not a valid input (see `action.yml`).
Plus, it's not smart to NOT activate this feature, because ATS needs
all these commands to succeed to actually work.

So the present changes activate '--fail-on-error' by default for
`create-commit` and `create-report` commands.
Copy link

codecov bot commented Dec 28, 2023

Codecov Report

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

Comparison is base (bb85483) 47.48% compared to head (412c605) 47.44%.

Files Patch % Lines
dist/codecov_ats.sh 0.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #34      +/-   ##
==========================================
- Coverage   47.48%   47.44%   -0.05%     
==========================================
  Files           7        7              
  Lines         219      215       -4     
==========================================
- Hits          104      102       -2     
+ Misses        115      113       -2     
Flag Coverage Δ
bash 37.43% <50.00%> (-0.28%) ⬇️
smart-tests 97.22% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@giovanni-guidini giovanni-guidini merged commit ccd3eab into main Jan 2, 2024
11 of 12 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.

2 participants