diff --git a/.github/workflows/integration_test.yml b/.github/workflows/integration_test.yml index 89b94888..8050ddd4 100644 --- a/.github/workflows/integration_test.yml +++ b/.github/workflows/integration_test.yml @@ -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