|
@@ -31,19 +31,17 @@ jobs:
|
|
- name: Install dependencies
|
|
- name: Install dependencies
|
|
run: |
|
|
run: |
|
|
python -m pip install --upgrade pip
|
|
python -m pip install --upgrade pip
|
|
- pip install -U pip coverage flake8 fastimport paramiko urllib3
|
|
|
|
|
|
+ pip install -U ".[fastimport,paramiko,https]"
|
|
- name: Install gpg on supported platforms
|
|
- name: Install gpg on supported platforms
|
|
- run: pip install -U gpg
|
|
|
|
|
|
+ run: pip install -U ".[pgp]"
|
|
if: "matrix.os != 'windows-latest' && matrix.python-version != 'pypy3'"
|
|
if: "matrix.os != 'windows-latest' && matrix.python-version != 'pypy3'"
|
|
- - name: Install mypy
|
|
|
|
- run: |
|
|
|
|
- pip install -U mypy types-paramiko types-requests
|
|
|
|
- if: "matrix.python-version != 'pypy3'"
|
|
|
|
- name: Style checks
|
|
- name: Style checks
|
|
run: |
|
|
run: |
|
|
|
|
+ pip install -U flake8
|
|
python -m flake8
|
|
python -m flake8
|
|
- name: Typing checks
|
|
- name: Typing checks
|
|
run: |
|
|
run: |
|
|
|
|
+ pip install -U mypy types-paramiko types-requests
|
|
python -m mypy dulwich
|
|
python -m mypy dulwich
|
|
if: "matrix.python-version != 'pypy3'"
|
|
if: "matrix.python-version != 'pypy3'"
|
|
- name: Build
|
|
- name: Build
|
|
@@ -51,4 +49,5 @@ jobs:
|
|
python setup.py build_ext -i
|
|
python setup.py build_ext -i
|
|
- name: Coverage test suite run
|
|
- name: Coverage test suite run
|
|
run: |
|
|
run: |
|
|
|
|
+ pip install -U coverage
|
|
python -m coverage run -p -m unittest dulwich.tests.test_suite
|
|
python -m coverage run -p -m unittest dulwich.tests.test_suite
|