Skip to content

Commit a53c2c2

Browse files
authored
Merge pull request #64 from ocefpaf/ship_all_tests
Ship all tests
2 parents 47f2d7d + 7833df0 commit a53c2c2

File tree

5 files changed

+25
-2
lines changed

5 files changed

+25
-2
lines changed

.github/workflows/build_linux.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,14 @@ jobs:
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

.github/workflows/build_mac.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,14 @@ jobs:
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:

.github/workflows/build_win.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,14 @@ jobs:
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:

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ install:
4646
script:
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

MANIFEST.in

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ prune tools
1111
prune notebooks
1212
prune *.egg-info
1313

14-
global-exclude *.m
1514
global-exclude *.so
1615

1716
exclude *.yml

0 commit comments

Comments
 (0)