mirror of
https://github.com/httprunner/httprunner.git
synced 2026-07-08 22:13:13 +08:00
change: add integration test for windows
This commit is contained in:
19
.github/workflows/integration_test.yml
vendored
19
.github/workflows/integration_test.yml
vendored
@@ -15,7 +15,7 @@ jobs:
|
|||||||
max-parallel: 6
|
max-parallel: 6
|
||||||
matrix:
|
matrix:
|
||||||
python-version: ['3.7', '3.8', '3.9', '3.10']
|
python-version: ['3.7', '3.8', '3.9', '3.10']
|
||||||
os: [ubuntu-latest, macos-latest] # TODO: windows-latest
|
os: [ubuntu-latest, macos-latest, windows-latest]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
@@ -26,19 +26,20 @@ jobs:
|
|||||||
architecture: x64
|
architecture: x64
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
python -m pip install --upgrade pip
|
|
||||||
pip install poetry
|
pip install poetry
|
||||||
poetry --version
|
poetry --version
|
||||||
poetry install -vv -E upload
|
poetry install -vv -E upload
|
||||||
- name: Test package installation
|
- name: Test build package
|
||||||
run: |
|
run: |
|
||||||
poetry build
|
poetry build
|
||||||
ls dist/*.whl | xargs pip install # test installation
|
ls -l dist/
|
||||||
hrun -V
|
- name: Test commands
|
||||||
har2case -h
|
run: |
|
||||||
httprunner run -h
|
poetry run hrun -V
|
||||||
httprunner startproject -h
|
poetry run har2case -h
|
||||||
httprunner har2case -h
|
poetry run httprunner run -h
|
||||||
|
poetry run httprunner startproject -h
|
||||||
|
poetry run httprunner har2case -h
|
||||||
- name: Run smoketest - postman echo
|
- name: Run smoketest - postman echo
|
||||||
run: |
|
run: |
|
||||||
poetry run hrun examples/postman_echo/request_methods
|
poetry run hrun examples/postman_echo/request_methods
|
||||||
|
|||||||
Reference in New Issue
Block a user