diff --git a/.github/workflows/unittest.yml b/.github/workflows/unittest.yml index ad95b800..21868c75 100644 --- a/.github/workflows/unittest.yml +++ b/.github/workflows/unittest.yml @@ -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 diff --git a/.travis.yml b/.travis.yml index cc5f571a..c369d8fb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 \ No newline at end of file