mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-12 02:21:29 +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
|
||||
ls dist/*.whl | xargs pip install # test installation
|
||||
hrun -V
|
||||
locusts -V
|
||||
hrun run -h
|
||||
hrun startproject -h
|
||||
hrun har2case -h
|
||||
hrun locusts -h
|
||||
- name: Run smoketest for hrun command
|
||||
run: |
|
||||
cd tests/httpbin && hrun run basic.yml --failfast && cd -
|
||||
|
||||
@@ -83,7 +83,7 @@ class TestRunner(ApiServerUnittest):
|
||||
test_runner.run_test(parsed_testcase["teststeps"][0])
|
||||
end_time = time.time()
|
||||
# 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):
|
||||
testcases = [
|
||||
|
||||
Reference in New Issue
Block a user