Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ci fixes: Update python version coverage and flake8 dependencies. #247

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,14 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
python-version: [3.5, 3.6, 3.7, 3.8]
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10"]
include:
- os: macos-latest
python-version: 3.8
python-version: "3.10"
- os: windows-latest
python-version: 3.8
python-version: "3.8"
- os: windows-latest
python-version: "3.10"

steps:
- uses: actions/checkout@v2
Expand All @@ -35,7 +37,8 @@ jobs:
if: matrix.os == 'macos-latest'
- name: Test with pytest
run: |
pip install --upgrade coverage flake8 flake8-docstrings flake8-import-order pytest
pip install --upgrade .[test]
pip install --upgrade coverage
git config --global --add init.defaultBranch master
git config --global --add advice.detachedHead true
${{ matrix.os == 'windows-latest' && 'set PYTHONPATH=%cd% &&' || 'PYTHONPATH=`pwd`' }} pytest -s -v test
15 changes: 12 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,21 @@
from setuptools import setup
from vcstool import __version__

install_requires = ['PyYAML', 'setuptools']

setup(
name='vcstool',
version=__version__,
install_requires=install_requires,
install_requires=[
'PyYAML',
'setuptools'],
extras_require={
'test': [
'flake8 >= 3.7, < 5',
'flake8-docstrings',
'flake8-import-order',
'pycodestyle < 2.9.0',
'pyflakes < 2.5.0',
'pytest']
},
packages=find_packages(),
author='Dirk Thomas',
author_email='[email protected]',
Expand Down