Skip to content
Snippets Groups Projects
Commit f762d732 authored by Pierre Smeyers's avatar Pierre Smeyers
Browse files

Merge branch '21-fix-python-safety' into 'master'

fix(safety): fix command not found when poetry is used

Closes #21

See merge request to-be-continuous/python!28
parents c9e4a720 1ee673b8
No related branches found
No related tags found
No related merge requests found
......@@ -563,11 +563,11 @@ py-safety:
- _pip install safety
- install_requirements build
- |
if ! _pip freeze | safety check --stdin ${SAFETY_ARGS}
if ! _pip freeze | _run safety check --stdin ${SAFETY_ARGS}
then
# failed: also generate JSON report
_pip freeze | safety check --stdin --json --output reports/safety.json ${SAFETY_ARGS}
_pip freeze | _run safety check --stdin --json --output reports/safety.json ${SAFETY_ARGS}
exit 1
fi
artifacts:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment