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

Fail the action build when cog fails #311

Open
prusse-martin opened this issue May 24, 2023 · 0 comments
Open

Fail the action build when cog fails #311

prusse-martin opened this issue May 24, 2023 · 0 comments
Labels
bug Something isn't working enhancement New feature or request

Comments

@prusse-martin
Copy link
Member

prusse-martin commented May 24, 2023

When the cogging step detects some failure the action build should fail.

py39: commands[0]> inv cog --check
/home/runner/work/alfasim-sdk/alfasim-sdk/src/alfasim_sdk/_internal/alfacase/case_description.py(1144): Output has been edited! Delete old checksum to unprotect.
Cogging /home/runner/work/alfasim-sdk/alfasim-sdk/src/alfasim_sdk/_internal/alfacase/case_description.py
/home/runner/work/alfasim-sdk/alfasim-sdk/src/alfasim_sdk/_internal/alfacase/schema.py(1157): Output has been edited! Delete old checksum to unprotect.
Cogging /home/runner/work/alfasim-sdk/alfasim-sdk/src/alfasim_sdk/_internal/alfacase/schema.py
py39: commands[1]> pytest --basetemp=/home/runner/work/alfasim-sdk/alfasim-sdk/.tox/py39/tmp --cov=/home/runner/work/alfasim-sdk/alfasim-sdk/.tox/py39/lib/python3.9/site-packages/alfasim_sdk --cov=tests --cov-report=xml
============================= test session starts ==============================
@prusse-martin prusse-martin added bug Something isn't working enhancement New feature or request labels May 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant