Add an sdist install job

This should hopefully catch issues like,
https://github.com/goodboy/tractor/issues/293
ci_sdist_install
Tyler Goodlet 2022-07-11 14:13:21 -04:00
parent 71f19f217d
commit e0419b24ec
1 changed files with 20 additions and 0 deletions

View File

@ -28,6 +28,26 @@ jobs:
- name: Run MyPy check - name: Run MyPy check
run: mypy tractor/ --ignore-missing-imports run: mypy tractor/ --ignore-missing-imports
sdist-linux:
name: 'sdist'
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup python
uses: actions/setup-python@v2
with:
python-version: '3.10'
- name: Build sdist
run: python setup.py sdist --formats=zip
- name: Install sdist from .zips
run: python -m pip install dist/*.zip
testing-linux: testing-linux:
name: '${{ matrix.os }} Python ${{ matrix.python }} - ${{ matrix.spawn_backend }}' name: '${{ matrix.os }} Python ${{ matrix.python }} - ${{ matrix.spawn_backend }}'
timeout-minutes: 10 timeout-minutes: 10