fix: module not found

This commit is contained in:
debugtalk
2019-12-13 22:48:26 +08:00
parent a32ee1c5da
commit b51187c9a6
2 changed files with 5 additions and 5 deletions

View File

@@ -25,8 +25,8 @@ jobs:
poetry install -vvv
- name: Run unittest for httprunner
run: |
python -m httprunner.cli hrun -V
python -m httprunner.cli hrun -h
poetry run python -m httprunner.cli hrun -V
poetry run python -m httprunner.cli hrun -h
poetry run coverage run --source=httprunner -m unittest discover
poetry run coverage report -m
- name: Codecov

View File

@@ -18,9 +18,9 @@ install:
- ls dist/*.whl | xargs pip install # test installation
script:
- hrun -V
- cd tests/httpbin && hrun basic.yml --log-level debug --failfast && cd -
- python -m httprunner.cli hrun -V
- python -m httprunner.cli hrun -h
- cd tests/httpbin && hrun basic.yml --failfast && cd -
- poetry run python -m httprunner.cli hrun -V
- poetry run python -m httprunner.cli hrun -h
- poetry run coverage run --source=httprunner -m unittest discover
after_success:
- poetry run coveralls