build: update httpx #69
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ci | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
jobs: | |
unittests: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
python-version: ["3.10", "3.9", "3.8", "3.7"] | |
extras: ["", all, soap_api, orjson, cli] | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: "${{ matrix.python-version }}" | |
architecture: x64 | |
- uses: abatilo/[email protected] | |
with: | |
poetry-version: "1.1.13" | |
- run: poetry install --extras ${{ matrix.extras }} | |
if: matrix.extras != '' | |
- run: poetry install | |
if: matrix.extras == '' | |
- run: poetry run pytest -v | |
style: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ["3.10"] | |
extras: [all] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: "${{ matrix.python-version }}" | |
architecture: x64 | |
- uses: abatilo/[email protected] | |
with: | |
poetry-version: "1.1.13" | |
- run: poetry install --extras ${{ matrix.extras }} | |
- run: poetry run flake8 | |
- run: poetry run mypy --ignore-missing-imports . | |
- run: poetry run isort --check --diff . | |
- run: poetry run black --check --diff . |