Skip to content

Merge pull request #726 from PacificGilly/add-python-3.12-support #475

Merge pull request #726 from PacificGilly/add-python-3.12-support

Merge pull request #726 from PacificGilly/add-python-3.12-support #475

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
name: Python ${{ matrix.version }}
strategy:
matrix:
version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.version }}
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install pytest mock pytest-cov setuptools
python setup.py install
pytest --cov=./ --cov-report=xml
- name: Run Tests
run: python -m pytest -v
- name: upload coverage to Codecov
uses: codecov/codecov-action@v1
with:
name: codecov-umbrella
fail_ci_if_error: false