File tree Expand file tree Collapse file tree 5 files changed +25
-2
lines changed
Expand file tree Collapse file tree 5 files changed +25
-2
lines changed Original file line number Diff line number Diff line change 2525 run : |
2626 ls dist
2727 shell : bash
28+
29+ - name : Test wheels
30+ run : |
31+ python -m pip install wheel twine
32+ python -m pip install pytest numpy
33+ cd dist && python -m pip install gsw*.whl && python -m pytest --pyargs gsw
34+ python -m twine check *
35+ shell : bash
2836
2937 - name : Publish a Python distribution to PyPI
3038 uses : pypa/gh-action-pypi-publish@master
Original file line number Diff line number Diff line change 4040 ls dist
4141 shell : bash
4242
43+ - name : Test wheels
44+ run : |
45+ python -m pip install wheel twine
46+ python -m pip install pytest numpy
47+ cd dist && python -m pip install gsw*.whl && python -m pytest --pyargs gsw
48+ python -m twine check *
49+ shell : bash
50+
4351 - name : upload wheel
4452 uses : actions/upload-artifact@v1
4553 with :
Original file line number Diff line number Diff line change 4040 ls dist
4141 shell : bash
4242
43+ - name : Test wheels
44+ run : |
45+ python -m pip install wheel twine
46+ python -m pip install pytest numpy
47+ cd dist && python -m pip install gsw*.whl && python -m pytest --pyargs gsw
48+ python -m twine check *
49+ shell : bash
50+
4351 - name : upload wheel
4452 uses : actions/upload-artifact@v1
4553 with :
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ install:
4646script :
4747 - |
4848 if [[ $TRAVIS_JOB_NAME == 'tarball' ]]; then
49- pip wheel . -w dist --no-deps
49+ python -m pep517.build --source --binary . --out-dir dist
5050 check-manifest --verbose
5151 twine check dist/*
5252 fi
Original file line number Diff line number Diff line change @@ -11,7 +11,6 @@ prune tools
1111prune notebooks
1212prune *.egg-info
1313
14- global-exclude *.m
1514global-exclude *.so
1615
1716exclude *.yml
You can’t perform that action at this time.
0 commit comments