build(deps): update pydantic requirement from ~1 to >=1,<3 (#60) #84
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.11", "3.10", "3.9", "3.8"] | |
extras: ["", all, soap_api, orjson, cli] | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: ASDF Parse | |
uses: kota65535/[email protected] | |
id: versions | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: "${{ matrix.python-version }}" | |
architecture: x64 | |
- uses: abatilo/[email protected] | |
with: | |
poetry-version: "${{ steps.versions.outputs.poetry }}" | |
- 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 | |
- name: ASDF Parse | |
uses: kota65535/[email protected] | |
id: versions | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: "${{ steps.versions.outputs.python }}" | |
architecture: x64 | |
- uses: abatilo/[email protected] | |
with: | |
poetry-version: "${{ steps.versions.outputs.poetry }}" | |
- run: poetry install --extras all | |
- run: poetry run flake8 | |
- run: poetry run mypy --ignore-missing-imports . | |
- run: poetry run isort --check --diff . | |
- run: poetry run black --check --diff . |