Update CHANGELOG with new version details #31
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test kecpkg-tools | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
max-parallel: 6 | |
fail-fast: False | |
matrix: | |
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"] | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v1 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install OS dependencies | |
run: | | |
sudo apt-get install gpg --yes | |
- 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.txt | |
- name: Perform Testing | |
run: | | |
pip install pytest pytest-runner pytest-cov coverage | |
python setup.py --quiet clean develop | |
pytest --cov=kecpkg tests | |
- name: Upload coverage to coveralls.io | |
if: matrix.python-version == 3.12 | |
env: | |
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} | |
run: | | |
pip install coveralls | |
coveralls | |
- 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 kecpkg --count --show-source --statistics | |
pydocstyle kecpkg | |
check-manifest | |
python setup.py check -m -s | |
python setup.py bdist_wheel --universal | |
twine check dist/* |