Commit 5eae5595 authored by Moul's avatar Moul

[mod] Revert changes made for Poetry 1.0.0b3 now fixed in b4:

- 'poetry run' no longer needs `--`.

Revert "[fix] Call 'poetry run silkaj' tests with '--'"
Revert "[fix] 'poetry run' cli parsing changed in 1.0.0b3:"

This reverts commit f335a2bd.
This reverts commit 4f772671.
parent 5b990cb5
Pipeline #7161 passed with stages
in 4 minutes and 52 seconds
......@@ -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
......
......@@ -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"
```
from subprocess import check_output
silkaj = ["poetry", "run", "--", "bin/silkaj"]
silkaj = ["poetry", "run", "bin/silkaj"]
def test_info():
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment