-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
34 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,8 +28,8 @@ jobs: | |
|
||
- name: Install dependencies | ||
run: | | ||
pip install tox | ||
pip install tox-gh-actions | ||
python -m pip install tox | ||
python -m pip install tox-gh-actions | ||
- name: Test Code | ||
run: tox | ||
|
@@ -55,11 +55,11 @@ jobs: | |
shell: bash | ||
run: | | ||
if [[ ${{ matrix.python-version }} == 3.3* ]]; then | ||
pip install virtualenv==15.2.0 | ||
pip install pluggy==0.5.2 | ||
pip install tox==2.9.1 | ||
python -m pip install virtualenv==15.2.0 | ||
python -m pip install pluggy==0.5.2 | ||
python -m pip install tox==2.9.1 | ||
fi | ||
pip install tox | ||
python -m pip install tox | ||
- name: Test Code | ||
shell: bash | ||
|
@@ -85,8 +85,8 @@ jobs: | |
|
||
- name: Install dependencies | ||
run: | | ||
pip install tox | ||
pip install tox-gh-actions==2.8.1 | ||
python -m pip install tox | ||
python -m pip install tox-gh-actions==2.8.1 | ||
- name: Test Code | ||
run: tox | ||
|
@@ -105,13 +105,13 @@ jobs: | |
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.9' | ||
python-version: '3.11' | ||
|
||
- name: Install dependencies | ||
run: | | ||
pip install numpy | ||
pip install sphinx | ||
pip install numpydoc | ||
python -m pip install numpy | ||
python -m pip install sphinx | ||
python -m pip install numpydoc | ||
- name: Test Docs | ||
run: sphinx-build -W --keep-going doc _build/html | ||
|
@@ -132,28 +132,27 @@ jobs: | |
- name: Set up Python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.9' | ||
python-version: '3.11' | ||
|
||
- name: Install dependencies | ||
run: | | ||
pip install wheel | ||
pip install numpy | ||
pip install sphinx | ||
pip install numpydoc | ||
python -m pip install build | ||
python -m pip install numpy | ||
python -m pip install sphinx | ||
python -m pip install numpydoc | ||
- name: Create artifacts | ||
run: | | ||
python setup.py sdist --formats=zip | ||
python setup.py bdist_wheel | ||
python -m build | ||
VERSION=$(python setup.py --version) | ||
sphinx-build -W --keep-going doc _build/html | ||
tar -C _build/html -zcf dist/docs-${VERSION}.tar.gz . | ||
- name: Save artifacts to Github Actions | ||
uses: actions/upload-artifact@v3 | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: docs, source zip, wheel | ||
name: docs, source tar, wheel | ||
path: dist/* | ||
if-no-files-found: error | ||
|
||
|
@@ -226,16 +225,15 @@ jobs: | |
- name: Set up Python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.9' | ||
python-version: '3.11' | ||
|
||
- name: Install dependencies | ||
run: | | ||
pip install wheel | ||
python -m pip install build | ||
- name: Create artifacts | ||
run: | | ||
python setup.py sdist --formats=zip | ||
python setup.py bdist_wheel | ||
python -m build | ||
- name: Publish to Test PyPI | ||
uses: pypa/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[build-system] | ||
requires = ["setuptools"] | ||
build-backend = "setuptools.build_meta" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[metadata] | ||
license_file = LICENSES | ||
description-file = README.rst | ||
license_files = LICENSES | ||
description_file = README.rst | ||
|
||
[bdist_wheel] | ||
universal = 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters