step half finish
This commit is contained in:
@@ -5,6 +5,14 @@
|
||||
|
||||
run:
|
||||
python run_api_tests.py --base-url http://127.0.0.1:4523/m1/6389742-6086420-default --yapi assets/doc/井筒API示例_simple.json --custom-test-cases-dir ./custom_testcases --verbose --output test_report.json >log.txt 2>&1
|
||||
run_stages:
|
||||
python run_api_tests.py \
|
||||
--base-url http://127.0.0.1:4523/m1/6389742-6086420-default \
|
||||
--yapi ./assets/doc/井筒API示例_simple.json \
|
||||
--stages-dir ./custom_stages \
|
||||
--custom-test-cases-dir ./custom_testcases \
|
||||
-v \
|
||||
-o ./test_reports/ >log_stage.txt 2>&1
|
||||
|
||||
docker_build_redhat:
|
||||
docker run --platform linux/amd64 --rm -v "$(pwd)":/app -w /app registry.access.redhat.com/ubi8/python-39 sh -c "pip3 install --no-cache-dir -r requirements.txt || true && pip3 install --no-cache-dir pyinstaller && pyinstaller --onefile --noconfirm run_api_tests.py && ./dist/run_api_tests --base-url http://host.docker.internal:4523 > ./dist/output.txt 2>&1 && chown -R $(id -u):$(id -g) dist build run_api_tests.spec || true"
|
||||
|
||||
Reference in New Issue
Block a user