mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-13 17:29:56 +08:00
fix: module not found
This commit is contained in:
4
.github/workflows/unittest.yml
vendored
4
.github/workflows/unittest.yml
vendored
@@ -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
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user