File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Tarball tests
2+
3+ on :
4+ pull_request :
5+ push :
6+ branches : [master]
7+
8+ jobs :
9+ run :
10+ runs-on : ubuntu-latest
11+ steps :
12+ - uses : actions/checkout@v2
13+
14+ - name : Setup Conda
15+ uses : s-weigand/setup-conda@v1
16+ with :
17+ activate-conda : false
18+ conda-channels : conda-forge
19+
20+ - name : Create environment
21+ shell : bash -l {0}
22+ run : |
23+ conda create --name TEST python=3 python-build cython numpy --file requirements-dev.txt
24+ source activate TEST
25+ conda info --all
26+ conda list
27+
28+ - name : Tarball
29+ shell : bash -l {0}
30+ run : |
31+ source activate TEST
32+ python -m build --skip-dependencies --sdist --wheel .
33+ check-manifest --verbose
34+ twine check dist/*
Original file line number Diff line number Diff line change @@ -11,8 +11,6 @@ matrix:
1111 include :
1212 - name : " docs"
1313 env : NUMPY=1 PY=3
14- - name : " tarball"
15- env : NUMPY=1 PY=3
1614
1715before_install :
1816 # Install miniconda and create TEST env.
@@ -36,13 +34,6 @@ install:
3634 - pip install -e . --no-deps --force-reinstall
3735
3836script :
39- - |
40- if [[ $TRAVIS_JOB_NAME == 'tarball' ]]; then
41- python -m pep517.build --source --binary . --out-dir dist
42- check-manifest --verbose
43- twine check dist/*
44- fi
45-
4637 - |
4738 if [[ $TRAVIS_JOB_NAME == 'docs' ]]; then
4839 pushd docs
You can’t perform that action at this time.
0 commit comments