diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8efc54754c95a69c5517f2fa12a7f07c4e91683b..bceb21c0aef215d477e89e3a3225531b15e38a8e 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 a85e2576a465b0c4e85edde0960718129b3e16fe..febe9fdb5c5c764699af955dda16ea38048ceada 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" ``` diff --git a/tests/test_end_to_end.py b/tests/test_end_to_end.py index 558ff29a7e53816bf4adbebd63811535be8bcd56..1ea84e37195cacfe7d855b6ef81983fa39152c24 100644 --- a/tests/test_end_to_end.py +++ b/tests/test_end_to_end.py @@ -1,6 +1,6 @@ from subprocess import check_output -silkaj = ["poetry", "run", "--", "bin/silkaj"] +silkaj = ["poetry", "run", "bin/silkaj"] def test_info():