|
@@ -13,8 +13,11 @@ jobs:
|
|
|
runs-on: ${{ matrix.os }}
|
|
|
strategy:
|
|
|
matrix:
|
|
|
- os: [ubuntu-latest, macos-latest, windows-latest]
|
|
|
- python-version: ['3.x']
|
|
|
+ os: [macos-latest, windows-latest]
|
|
|
+ python-version: ['3.5', '3.6', '3.7', '3.8']
|
|
|
+ include:
|
|
|
+ - os: linux-latest
|
|
|
+ python-version: '3.x'
|
|
|
|
|
|
steps:
|
|
|
- uses: actions/checkout@v2
|
|
@@ -26,6 +29,9 @@ jobs:
|
|
|
run: |
|
|
|
python -m pip install --upgrade pip
|
|
|
pip install setuptools wheel twine fastimport
|
|
|
+ - name: Run test suite
|
|
|
+ run: |
|
|
|
+ python -m unittest dulwich.tests.test_suite
|
|
|
- name: Build
|
|
|
run: |
|
|
|
python setup.py sdist bdist_wheel
|
|
@@ -40,4 +46,5 @@ jobs:
|
|
|
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
|
|
|
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
|
|
|
run: |
|
|
|
+ ls wheelhouse
|
|
|
echo twine upload wheelhouse/*
|