Skip to content

Bump abatilo/actions-poetry from 2.1.4 to 2.3.0 #51

Bump abatilo/actions-poetry from 2.1.4 to 2.3.0

Bump abatilo/actions-poetry from 2.1.4 to 2.3.0 #51

Workflow file for this run

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