Skip to content

Commit e0419b2

Browse files
committed
Add an sdist install job
This should hopefully catch issues like, #293
1 parent 71f19f2 commit e0419b2

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/ci.yml

+20
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,26 @@ jobs:
2828
- name: Run MyPy check
2929
run: mypy tractor/ --ignore-missing-imports
3030

31+
sdist-linux:
32+
name: 'sdist'
33+
runs-on: ubuntu-latest
34+
35+
steps:
36+
- name: Checkout
37+
uses: actions/checkout@v2
38+
39+
- name: Setup python
40+
uses: actions/setup-python@v2
41+
with:
42+
python-version: '3.10'
43+
44+
- name: Build sdist
45+
run: python setup.py sdist --formats=zip
46+
47+
- name: Install sdist from .zips
48+
run: python -m pip install dist/*.zip
49+
50+
3151
testing-linux:
3252
name: '${{ matrix.os }} Python ${{ matrix.python }} - ${{ matrix.spawn_backend }}'
3353
timeout-minutes: 10

0 commit comments

Comments
 (0)