Skip to content

Bump version to 4.16.0 and update changelog for release #3375

Bump version to 4.16.0 and update changelog for release

Bump version to 4.16.0 and update changelog for release #3375

name: Test pykechain
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
max-parallel: 6
fail-fast: False
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install basic dependencies
run: |
python -m pip install --upgrade pip
pip install -U setuptools>=38.6.0 wheel>=0.31.0
pip install -r requirements-ci.txt
- name: Perform Testing
if: matrix.python-version != 3.12
run: |
pytest -n auto tests
- name: Check docs and distribution
if: matrix.python-version == 3.12
run: |
pip install flake8 pydocstyle check-manifest readme_renderer[md] twine>=2.0.0
flake8 pykechain --count --show-source --statistics
pydocstyle pykechain
check-manifest
python setup.py bdist_wheel --universal
twine check dist/*
- name: Perform coverage tests and upload to coveralls.io
if: matrix.python-version == 3.12
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
run: |
pip install -U coveralls>=3.3.1
coverage run --source=pykechain -m pytest -n auto tests
coveralls