Skip to content

Improve debug output in build_wheel.py (#156) #606

Improve debug output in build_wheel.py (#156)

Improve debug output in build_wheel.py (#156) #606

Workflow file for this run

name: Check scripts
on:
push:
pull_request:
env:
FORCE_COLOR: 1
jobs:
black:
name: Check formatting with black
runs-on: ubuntu-latest
steps:
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- uses: actions/checkout@v4
- run: pip install -r requirements.txt
- run: |
black --version
black --check .
mypy:
name: Check stub_uploader with mypy
runs-on: ubuntu-latest
steps:
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- uses: actions/checkout@v4
- run: pip install -r requirements.txt
- run: mypy --strict -p stub_uploader -p tests
tests:
name: Run integration and unit tests
runs-on: ubuntu-latest
steps:
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Checkout main
uses: actions/checkout@v4
with:
path: main
- name: Checkout typeshed
uses: actions/checkout@v4
with:
repository: python/typeshed
path: typeshed
- name: Run tests
run: |
cd main
pip install -r requirements.txt
python -Werror -m pytest tests