Skip to content

Update Python SDK version and project configurations #25

Update Python SDK version and project configurations

Update Python SDK version and project configurations #25

Workflow file for this run

name: Test kecpkg-tools
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
max-parallel: 7
fail-fast: False
matrix:
python-version: [2.7, 3.5, 3.6, 3.7, 3.8-dev, pypy2, pypy3]
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.6
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
run: |
pip install coveralls
coveralls
- name: Check docs and distribution
if: matrix.python-version == 3.6
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/*