diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index bceb21c0aef215d477e89e3a3225531b15e38a8e..8efc54754c95a69c5517f2fa12a7f07c4e91683b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -63,8 +63,8 @@ tests-3.7-coverage: tags: [poetry-78] script: - poetry install - - poetry run pytest --cov silkaj --cov-report html:cov_html - - poetry run coverage-badge -o cov_html/coverage.svg + - poetry run -- pytest --cov silkaj --cov-report html:cov_html + - poetry run -- coverage-badge -o cov_html/coverage.svg artifacts: paths: - cov_html diff --git a/doc/install_poetry.md b/doc/install_poetry.md index febe9fdb5c5c764699af955dda16ea38048ceada..a85e2576a465b0c4e85edde0960718129b3e16fe 100644 --- a/doc/install_poetry.md +++ b/doc/install_poetry.md @@ -37,5 +37,5 @@ You might need to enter Poetry shell to access development tools such as `pytest Add following alias to your shell configuration: ```bash -alias silkaj="cd /path/to/silkaj/silkaj && poetry run silkaj" +alias silkaj="cd /path/to/silkaj/silkaj && poetry run -- silkaj" ```