change: add integration test for windows
This commit is contained in:
parent
13a284bb53
commit
f5aba034de
|
@ -15,7 +15,7 @@ jobs:
|
|||
max-parallel: 6
|
||||
matrix:
|
||||
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:
|
||||
- uses: actions/checkout@v2
|
||||
|
@ -26,19 +26,20 @@ jobs:
|
|||
architecture: x64
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install poetry
|
||||
poetry --version
|
||||
poetry install -vv -E upload
|
||||
- name: Test package installation
|
||||
- name: Test build package
|
||||
run: |
|
||||
poetry build
|
||||
ls dist/*.whl | xargs pip install # test installation
|
||||
hrun -V
|
||||
har2case -h
|
||||
httprunner run -h
|
||||
httprunner startproject -h
|
||||
httprunner har2case -h
|
||||
ls -l dist/
|
||||
- name: Test commands
|
||||
run: |
|
||||
poetry run hrun -V
|
||||
poetry run har2case -h
|
||||
poetry run httprunner run -h
|
||||
poetry run httprunner startproject -h
|
||||
poetry run httprunner har2case -h
|
||||
- name: Run smoketest - postman echo
|
||||
run: |
|
||||
poetry run hrun examples/postman_echo/request_methods
|
||||
|
|
Loading…
Reference in New Issue