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/check subprocess return code #76

Merged
merged 1 commit into from
Mar 21, 2024

Conversation

jmkerloch
Copy link
Contributor

@jmkerloch jmkerloch commented Mar 15, 2024

In this PR we check return code for all subprocess in route-graph-generator.

If the return code is different than 0 it mean that an error occured in the process.

In this case we should not continue and we raise a RuntimeError.

@jmkerloch jmkerloch added the enhancement New feature or request label Mar 15, 2024
@jmkerloch jmkerloch self-assigned this Mar 15, 2024
Copy link

github-actions bot commented Mar 15, 2024

☂️ Python Coverage

current status: ✅

Overall Coverage

Lines Covered Coverage Threshold Status
1057 402 38% 0% 🟢

New Files

No new covered files...

Modified Files

File Coverage Status
r2gg/_subprocess_execution.py 9% 🟢
TOTAL 9% 🟢

updated for commit: dfdd07b by action🐍

@lgrd
Copy link
Collaborator

lgrd commented Mar 15, 2024

Hi !
Hope you're fine ^^
Could you describe the feature ? :)
And can you target develop and not master ?

@jmkerloch jmkerloch changed the base branch from master to develop March 15, 2024 15:18
@jmkerloch
Copy link
Contributor Author

I was waiting the checks before updating the PR 😄

The goal is to avoid launching a step if an error occurs in a previous step.

@lgrd
Copy link
Collaborator

lgrd commented Mar 18, 2024

That's a very cool feature ! Thanks ! ;)

@jmkerloch jmkerloch force-pushed the feat/check_subprocess_return_code branch from 0d29864 to dfdd07b Compare March 20, 2024 17:01
@jmkerloch jmkerloch marked this pull request as ready for review March 20, 2024 17:02
@jmkerloch jmkerloch requested review from lgrd and azarz March 20, 2024 17:02
@azarz azarz merged commit c1fffea into develop Mar 21, 2024
5 checks passed
@azarz azarz deleted the feat/check_subprocess_return_code branch March 21, 2024 10:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants