Skip to content

Commit

Permalink
add ci check job and add 3.11 classifier (#197)
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelcolvin authored Oct 19, 2022
1 parent c816d19 commit 0fab942
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ jobs:
build:
name: >
build on ${{ matrix.platform || matrix.os }} (${{ matrix.target }} - ${{ matrix.manylinux || 'auto' }})
needs: [test, lint]
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -155,6 +155,7 @@ jobs:
manylinux: musllinux_1_1

runs-on: ${{ matrix.os }}-latest

steps:
- uses: actions/checkout@v3

Expand Down Expand Up @@ -234,6 +235,17 @@ jobs:
ls dist/*cp37-abi3-manylinux*x86_64.whl | head -n 1
python -m zipfile --list `ls dist/*cp37-abi3-manylinux*x86_64.whl | head -n 1`
# Used for branch protection checks, see https://github.com/marketplace/actions/alls-green#why
check:
if: always()
needs: [test, lint, docs, build, list-pypi-files]
runs-on: ubuntu-latest
steps:
- name: Decide whether the needed jobs succeeded or failed
uses: re-actors/alls-green@release/v1
with:
jobs: ${{ toJSON(needs) }}

release:
needs: [build, docs]
if: "success() && startsWith(github.ref, 'refs/tags/')"
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ classifiers = [
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Intended Audience :: Developers',
'Intended Audience :: Information Technology',
'Intended Audience :: System Administrators',
Expand Down

0 comments on commit 0fab942

Please sign in to comment.