fix: small black fix #290
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
name: Main Workflow | |
on: [push] | |
jobs: | |
build: | |
name: Build | |
timeout-minutes: 10 | |
strategy: | |
matrix: | |
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: | |
- uses: actions/checkout@v4 | |
- run: python --version | |
- run: pip install -r requirements.txt | |
- run: | | |
pip install black | |
black . --check | |
if: matrix.python-version == '3.12' | |
- run: HTTPBIN=httpbin.bemisc.com python setup.py test | |
build-pypy: | |
name: Build PyPy | |
timeout-minutes: 10 | |
strategy: | |
matrix: | |
python-version: [2.7, 3.6, 3.9, "3.10"] | |
runs-on: ubuntu-latest | |
container: pypy:${{ matrix.python-version }} | |
steps: | |
- uses: actions/checkout@v4 | |
- run: python --version | |
- run: pip install -r requirements.txt | |
- run: | | |
pip install black | |
black . --check | |
if: matrix.python-version == '3.12' | |
- run: HTTPBIN=httpbin.bemisc.com python setup.py test |