mirror of
https://github.com/httprunner/httprunner.git
synced 2026-07-10 23:12:41 +08:00
fix: github action scripts
This commit is contained in:
5
.github/workflows/integration_test.yml
vendored
5
.github/workflows/integration_test.yml
vendored
@@ -30,7 +30,10 @@ jobs:
|
|||||||
poetry build
|
poetry build
|
||||||
ls dist/*.whl | xargs pip install # test installation
|
ls dist/*.whl | xargs pip install # test installation
|
||||||
hrun -V
|
hrun -V
|
||||||
locusts -V
|
hrun run -h
|
||||||
|
hrun startproject -h
|
||||||
|
hrun har2case -h
|
||||||
|
hrun locusts -h
|
||||||
- name: Run smoketest for hrun command
|
- name: Run smoketest for hrun command
|
||||||
run: |
|
run: |
|
||||||
cd tests/httpbin && hrun run basic.yml --failfast && cd -
|
cd tests/httpbin && hrun run basic.yml --failfast && cd -
|
||||||
|
|||||||
@@ -83,7 +83,7 @@ class TestRunner(ApiServerUnittest):
|
|||||||
test_runner.run_test(parsed_testcase["teststeps"][0])
|
test_runner.run_test(parsed_testcase["teststeps"][0])
|
||||||
end_time = time.time()
|
end_time = time.time()
|
||||||
# testcase teardown hook has not been executed now
|
# testcase teardown hook has not been executed now
|
||||||
self.assertLess(end_time - start_time, 1)
|
self.assertLess(end_time - start_time, 2)
|
||||||
|
|
||||||
def test_run_testcase_with_hooks_assignment(self):
|
def test_run_testcase_with_hooks_assignment(self):
|
||||||
testcases = [
|
testcases = [
|
||||||
|
|||||||
Reference in New Issue
Block a user