change: add integration test for windows

This commit is contained in:
debugtalk 2022-03-21 16:08:35 +08:00
parent 13a284bb53
commit f5aba034de
1 changed files with 10 additions and 9 deletions

View File

@ -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