Skip to content

add support for Python 3.13 and drop EoL Python 3.7 #167

add support for Python 3.13 and drop EoL Python 3.7

add support for Python 3.13 and drop EoL Python 3.7 #167

Workflow file for this run

name: CI
on:
pull_request:
types: [opened, synchronize, reopened]
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
strategy:
max-parallel: 5
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 Dependencies
run: pip install poetry && poetry install
- name: Install dependencies
run: poetry install
- name: Test
run: poetry run pytest
flake8:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: 3.x
- name: Install Dependencies
run: pip install poetry && poetry install
- name: Run flake8
run: git diff HEAD $(git merge-base HEAD origin/master) | poetry run flake8 --diff
coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: 3.x
- name: Install Dependencies
run: pip install poetry && poetry install
- name: Run Coverage
run: poetry run pytest --cov=. --cov-report xml
- name: Upload Coverage
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true