Update CI
This commit is contained in:
parent
854fbb9fe7
commit
f8d5addd07
|
@ -11,7 +11,7 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container: fedora:latest
|
container: fedora:latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Install / upgrade dependencies
|
- name: Install / upgrade dependencies
|
||||||
run: |
|
run: |
|
||||||
|
@ -31,7 +31,7 @@ jobs:
|
||||||
pytest --verbose --color=yes ./
|
pytest --verbose --color=yes ./
|
||||||
popd
|
popd
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
path: dist/*.tar.gz
|
path: dist/*.tar.gz
|
||||||
|
|
||||||
|
@ -40,17 +40,17 @@ jobs:
|
||||||
name: Build binary wheels
|
name: Build binary wheels
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
# setup Python for cibuildwheel
|
# setup Python for cibuildwheel
|
||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v3
|
uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: '3.x'
|
python-version: '3.x'
|
||||||
|
|
||||||
# for other architectures, see: https://cibuildwheel.readthedocs.io/en/stable/faq/#emulation
|
# for other architectures, see: https://cibuildwheel.readthedocs.io/en/stable/faq/#emulation
|
||||||
- name: Build wheels for CPython
|
- name: Build wheels for CPython
|
||||||
uses: pypa/cibuildwheel@v2.11.3
|
uses: pypa/cibuildwheel@v2.16.2
|
||||||
env:
|
env:
|
||||||
CIBW_ARCHS: auto64 # only 64-bit
|
CIBW_ARCHS: auto64 # only 64-bit
|
||||||
CIBW_SKIP: "pp* *-musllinux_*" # no PyPy builds
|
CIBW_SKIP: "pp* *-musllinux_*" # no PyPy builds
|
||||||
|
@ -65,7 +65,7 @@ jobs:
|
||||||
pytest --verbose --color=yes ./
|
pytest --verbose --color=yes ./
|
||||||
popd
|
popd
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
path: ./wheelhouse/*.whl
|
path: ./wheelhouse/*.whl
|
||||||
|
|
||||||
|
@ -76,12 +76,12 @@ jobs:
|
||||||
needs: [build_bdist, build_sdist]
|
needs: [build_bdist, build_sdist]
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/download-artifact@v2
|
- uses: actions/download-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: artifact
|
name: artifact
|
||||||
path: dist
|
path: dist
|
||||||
|
|
||||||
- uses: pypa/gh-action-pypi-publish@v1.5.0
|
- uses: pypa/gh-action-pypi-publish@v1.8.10
|
||||||
with:
|
with:
|
||||||
user: __token__
|
user: __token__
|
||||||
password: ${{secrets.PYPI_API_TOKEN}}
|
password: ${{secrets.PYPI_API_TOKEN}}
|
||||||
|
|
3
setup.py
3
setup.py
|
@ -33,9 +33,6 @@ setup(
|
||||||
'Topic :: System :: Software Distribution',
|
'Topic :: System :: Software Distribution',
|
||||||
'Topic :: System :: Systems Administration',
|
'Topic :: System :: Systems Administration',
|
||||||
'Programming Language :: Python :: 3',
|
'Programming Language :: Python :: 3',
|
||||||
'Programming Language :: Python :: 3.6',
|
|
||||||
'Programming Language :: Python :: 3.7',
|
|
||||||
'Programming Language :: Python :: 3.8',
|
|
||||||
'Programming Language :: Python :: 3.9',
|
'Programming Language :: Python :: 3.9',
|
||||||
'Programming Language :: Python :: 3.10',
|
'Programming Language :: Python :: 3.10',
|
||||||
'Programming Language :: Python :: 3.11',
|
'Programming Language :: Python :: 3.11',
|
||||||
|
|
|
@ -23,9 +23,6 @@ setup(
|
||||||
'Topic :: System :: Software Distribution',
|
'Topic :: System :: Software Distribution',
|
||||||
'Topic :: System :: Systems Administration',
|
'Topic :: System :: Systems Administration',
|
||||||
'Programming Language :: Python :: 3',
|
'Programming Language :: Python :: 3',
|
||||||
'Programming Language :: Python :: 3.6',
|
|
||||||
'Programming Language :: Python :: 3.7',
|
|
||||||
'Programming Language :: Python :: 3.8',
|
|
||||||
'Programming Language :: Python :: 3.9',
|
'Programming Language :: Python :: 3.9',
|
||||||
'Programming Language :: Python :: 3.10',
|
'Programming Language :: Python :: 3.10',
|
||||||
'Programming Language :: Python :: 3.11',
|
'Programming Language :: Python :: 3.11',
|
||||||
|
|
Loading…
Reference in New Issue