Skip to content

Merge pull request #3 from aiokitchen/pre-v1.1 #18

Merge pull request #3 from aiokitchen/pre-v1.1

Merge pull request #3 from aiokitchen/pre-v1.1 #18

Workflow file for this run

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