Add step to ensure sdist can be installed #49
Workflow file for this run
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: Lint | |
on: | |
push: | |
pull_request: | |
schedule: | |
# 00:00 UTC every Saturday, don't bother anyone | |
- cron: '0 0 * * 6' | |
jobs: | |
mypy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.11.8 | |
architecture: x64 | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install dev requirements | |
run: pip install -r requirements-dev.txt | |
- name: Install package | |
run: python setup.py bdist_wheel && pip install dist/crc32c*.whl | |
- name: Run mypy | |
run: mypy --strict src test | |
- name: Run black | |
run: black --check . | |
- name: Run isort | |
run: isort --check --diff . |