Skip to content

Bump peaceiris/actions-gh-pages from 3.7.3 to 3.9.3 #42

Bump peaceiris/actions-gh-pages from 3.7.3 to 3.9.3

Bump peaceiris/actions-gh-pages from 3.7.3 to 3.9.3 #42

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