|
|
|
@ -45,8 +45,29 @@ jobs: |
|
|
|
name: wheelhouse |
|
|
|
path: ./dist/*.tar.gz |
|
|
|
|
|
|
|
upload_pypi: |
|
|
|
test_install: |
|
|
|
name: Test install on ${{ matrix.os }} / ${{ matrix.python-version }} / ${{ matrix.architecture }} |
|
|
|
needs: [build_wheels, build_sdist] |
|
|
|
runs-on: ${{ matrix.os }} |
|
|
|
strategy: |
|
|
|
matrix: |
|
|
|
os: [ubuntu-latest, macOS-latest] |
|
|
|
python-version: ["2.7", "3.5", "3.6", "3.7", "3.8", "3.9", "pypy-2.7", "pypy-3.6", "pypy-3.7"] |
|
|
|
architecture: ["x64", "x86"] |
|
|
|
steps: |
|
|
|
- uses: actions/checkout@v2 |
|
|
|
- uses: actions/setup-python@v2 |
|
|
|
with: |
|
|
|
python-version: ${{ matrix.python-version }} |
|
|
|
architecture: ${{ matrix.architecture }} |
|
|
|
- uses: actions/download-artifact@v2 |
|
|
|
with: |
|
|
|
name: wheelhouse |
|
|
|
path: dist |
|
|
|
- run: pip install --no-index --find-links=./dist sysaudit |
|
|
|
|
|
|
|
upload_pypi: |
|
|
|
needs: [test_install] |
|
|
|
runs-on: ubuntu-latest |
|
|
|
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') |
|
|
|
steps: |
|
|
|
|