Skip to content

bump Python deps

bump Python deps #78

Workflow file for this run

name: Tests
on: [push]
jobs:
run_tests:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install poetry
uses: snok/[email protected]
- name: install dependencies
run: poetry install
- name: Run tests
run: poetry run pytest --verbose --capture=no
linters:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.12
uses: actions/setup-python@v4
with:
python-version: "3.12"
- name: Install poetry
uses: snok/[email protected]
- name: install dependencies
run: poetry install
- name: Run tests
run: poetry run pytest --verbose --capture=no --cov=py_loop --cov-report=xml --cov-report=term
- name: Black formatter
run: poetry run black --check py_loop
- name: Flake linter
run: poetry run flake8 .
- name: Mypy
run: poetry run mypy
- name: isort
run: poetry run isort --profile black --check .
- name: Send coverage
run: poetry run codecov
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}