|
@@ -17,9 +17,9 @@ jobs:
|
|
|
fail-fast: false
|
|
|
|
|
|
steps:
|
|
|
- - uses: actions/checkout@v2
|
|
|
+ - uses: actions/checkout@v3
|
|
|
- name: Set up Python ${{ matrix.python-version }}
|
|
|
- uses: actions/setup-python@v2
|
|
|
+ uses: actions/setup-python@v4
|
|
|
with:
|
|
|
python-version: ${{ matrix.python-version }}
|
|
|
- name: Install native dependencies (Ubuntu)
|
|
@@ -31,17 +31,17 @@ jobs:
|
|
|
- name: Install dependencies
|
|
|
run: |
|
|
|
python -m pip install --upgrade pip
|
|
|
- pip install -U ".[fastimport,paramiko,https]"
|
|
|
+ pip install --upgrade ".[fastimport,paramiko,https]"
|
|
|
- name: Install gpg on supported platforms
|
|
|
- run: pip install -U ".[pgp]"
|
|
|
+ run: pip install --upgrade ".[pgp]"
|
|
|
if: "matrix.os != 'windows-latest' && matrix.python-version != 'pypy3'"
|
|
|
- name: Style checks
|
|
|
run: |
|
|
|
- pip install -U flake8
|
|
|
+ pip install --upgrade flake8
|
|
|
python -m flake8
|
|
|
- name: Typing checks
|
|
|
run: |
|
|
|
- pip install -U mypy types-paramiko types-requests
|
|
|
+ pip install --upgrade mypy types-paramiko types-requests
|
|
|
python -m mypy dulwich
|
|
|
if: "matrix.python-version != 'pypy3'"
|
|
|
- name: Build
|
|
@@ -49,5 +49,5 @@ jobs:
|
|
|
python setup.py build_ext -i
|
|
|
- name: Coverage test suite run
|
|
|
run: |
|
|
|
- pip install -U coverage
|
|
|
+ pip install --upgrade coverage
|
|
|
python -m coverage run -p -m unittest dulwich.tests.test_suite
|