mirror of
https://github.com/httprunner/httprunner.git
synced 2026-07-13 00:11:28 +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
|
poetry install -vvv
|
||||||
- name: Run unittest for httprunner
|
- name: Run unittest for httprunner
|
||||||
run: |
|
run: |
|
||||||
python -m httprunner.cli hrun -V
|
poetry run python -m httprunner.cli hrun -V
|
||||||
python -m httprunner.cli hrun -h
|
poetry run python -m httprunner.cli hrun -h
|
||||||
poetry run coverage run --source=httprunner -m unittest discover
|
poetry run coverage run --source=httprunner -m unittest discover
|
||||||
poetry run coverage report -m
|
poetry run coverage report -m
|
||||||
- name: Codecov
|
- name: Codecov
|
||||||
|
|||||||
@@ -18,9 +18,9 @@ install:
|
|||||||
- ls dist/*.whl | xargs pip install # test installation
|
- ls dist/*.whl | xargs pip install # test installation
|
||||||
script:
|
script:
|
||||||
- hrun -V
|
- hrun -V
|
||||||
- cd tests/httpbin && hrun basic.yml --log-level debug --failfast && cd -
|
- cd tests/httpbin && hrun basic.yml --failfast && cd -
|
||||||
- python -m httprunner.cli hrun -V
|
- poetry run python -m httprunner.cli hrun -V
|
||||||
- python -m httprunner.cli hrun -h
|
- poetry run python -m httprunner.cli hrun -h
|
||||||
- poetry run coverage run --source=httprunner -m unittest discover
|
- poetry run coverage run --source=httprunner -m unittest discover
|
||||||
after_success:
|
after_success:
|
||||||
- poetry run coveralls
|
- poetry run coveralls
|
||||||
Reference in New Issue
Block a user