Remove 3.7, add 3.12, bump pytest, add setuptools dep #13
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: tests | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
pylama: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup python3.10 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: "3.10" | |
- run: python -m pip install poetry | |
- run: poetry install | |
- run: poetry run pylama | |
env: | |
FORCE_COLOR: 1 | |
mypy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup python3.10 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: "3.10" | |
- run: python -m pip install poetry | |
- run: poetry install | |
- run: poetry run mypy | |
env: | |
FORCE_COLOR: 1 | |
tests-on-linux: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
python: | |
- '3.8' | |
- '3.9' | |
- '3.10' | |
- '3.11' | |
- '3.12' | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup python${{ matrix.python }} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: "${{ matrix.python }}" | |
- run: python -m pip install poetry | |
- run: poetry install --with=uvloop | |
- run: >- | |
poetry run pytest \ | |
-vv \ | |
--cov=aiomisc_pytest \ | |
--cov-report=term-missing \ | |
tests | |
env: | |
FORCE_COLOR: 1 | |
tests-on-macos: | |
runs-on: macos-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
python: | |
- '3.9' | |
- '3.10' | |
- '3.11' | |
- '3.12' | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup python${{ matrix.python }} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: "${{ matrix.python }}" | |
- run: python -m pip install poetry | |
- run: poetry install --without=uvloop | |
- run: >- | |
poetry run pytest \ | |
-vv \ | |
--cov=aiomisc_pytest \ | |
--cov-report=term-missing \ | |
tests | |
env: | |
FORCE_COLOR: 1 | |
tests-on-windows: | |
runs-on: windows-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
python: | |
- '3.9' | |
- '3.10' | |
- '3.11' | |
- '3.12' | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup python${{ matrix.python }} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: "${{ matrix.python }}" | |
- run: python -m pip install poetry | |
- run: poetry install --without=uvloop | |
- run: >- | |
poetry run pytest -vv --cov=aiomisc_pytest --cov-report=term-missing tests | |
env: | |
FORCE_COLOR: 1 |