Skip to content

Commit

Permalink
Merge pull request #64 from ocefpaf/ship_all_tests
Browse files Browse the repository at this point in the history
Ship all tests
  • Loading branch information
ocefpaf authored Sep 3, 2020
2 parents 47f2d7d + 7833df0 commit a53c2c2
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 2 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/build_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,14 @@ jobs:
run: |
ls dist
shell: bash

- name: Test wheels
run: |
python -m pip install wheel twine
python -m pip install pytest numpy
cd dist && python -m pip install gsw*.whl && python -m pytest --pyargs gsw
python -m twine check *
shell: bash

- name: Publish a Python distribution to PyPI
uses: pypa/gh-action-pypi-publish@master
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/build_mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,14 @@ jobs:
ls dist
shell: bash

- name: Test wheels
run: |
python -m pip install wheel twine
python -m pip install pytest numpy
cd dist && python -m pip install gsw*.whl && python -m pytest --pyargs gsw
python -m twine check *
shell: bash

- name: upload wheel
uses: actions/upload-artifact@v1
with:
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/build_win.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,14 @@ jobs:
ls dist
shell: bash

- name: Test wheels
run: |
python -m pip install wheel twine
python -m pip install pytest numpy
cd dist && python -m pip install gsw*.whl && python -m pytest --pyargs gsw
python -m twine check *
shell: bash

- name: upload wheel
uses: actions/upload-artifact@v1
with:
Expand Down
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ install:
script:
- |
if [[ $TRAVIS_JOB_NAME == 'tarball' ]]; then
pip wheel . -w dist --no-deps
python -m pep517.build --source --binary . --out-dir dist
check-manifest --verbose
twine check dist/*
fi
Expand Down
1 change: 0 additions & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ prune tools
prune notebooks
prune *.egg-info

global-exclude *.m
global-exclude *.so

exclude *.yml
Expand Down

0 comments on commit a53c2c2

Please sign in to comment.