Fix WPN docs scraper #47
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: CI actions | |
on: [pull_request] | |
jobs: | |
ci: | |
name: Run CI validation | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install Poetry | |
run: pipx install poetry==1.6.1 | |
shell: bash | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.10" | |
cache: "poetry" | |
- name: Install dependencies | |
run: poetry install | |
- name: Lint with flake8 | |
run: poetry run flake8 . --count --statistics --show-source | |
- name: Check formatting with Black | |
run: poetry run black --check --diff . | |
- name: Check imports with isort | |
run: poetry run isort --check --diff . |