Browse Source

add build job to test install of wheels

pull/5/head
Brett Langdon 5 years ago
parent
commit
3b01163f70
Signed by: brettlangdon GPG Key ID: A70042D88B95AA2B
1 changed files with 22 additions and 1 deletions
  1. +22
    -1
      .github/workflows/build.yml

+ 22
- 1
.github/workflows/build.yml View File

@ -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:


Loading…
Cancel
Save