Skip to content

Commit

Permalink
chore: new black verification
Browse files Browse the repository at this point in the history
  • Loading branch information
joamag committed Jan 17, 2024
1 parent c8faabd commit f2deac3
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ jobs:
pip install -r extra.py2.txt
if: matrix.python-version == '2.7'
- run: ADAPTER=tiny python setup.py test
- run: |
pip install black
black . --check
if: matrix.python-version == '3.12'
- run: pip install twine wheel
- run: python setup.py sdist bdist_wheel
- run: python -m twine upload -u ${PYPI_USERNAME} -p ${PYPI_PASSWORD} dist/*
Expand Down
22 changes: 21 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,19 @@ jobs:
name: Build
strategy:
matrix:
python-version: [2.7, 3.5, 3.6, 3.7, 3.8, 3.9, rc]
python-version: [
2.7,
3.5,
3.6,
3.7,
3.8,
3.9,
"3.10",
"3.11",
"3.12",
latest,
rc
]
runs-on: ubuntu-latest
container: python:${{ matrix.python-version }}
steps:
Expand All @@ -19,6 +31,10 @@ jobs:
pip install -r requirements.py2.txt
pip install -r extra.py2.txt
if: matrix.python-version == '2.7'
- run: |
pip install black
black . --check
if: matrix.python-version == '3.12'
- run: ADAPTER=tiny python setup.py test
build-pypy:
name: Build PyPy
Expand All @@ -38,4 +54,8 @@ jobs:
pip install -r requirements.py2.txt
pip install -r extra.py2.txt
if: matrix.python-version == '2.7'
- run: |
pip install black
black . --check
if: matrix.python-version == '3.12'
- run: ADAPTER=tiny pypy setup.py test

0 comments on commit f2deac3

Please sign in to comment.