fix: pdoc failure #683
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: Python Driver Pyright Check | |
on: | |
pull_request: | |
paths: | |
- "**" | |
defaults: | |
run: | |
working-directory: . | |
jobs: | |
pyright: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18.x | |
- name: Install pyright | |
run: | | |
yarn global add pyright | |
- name: Setup Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.11 | |
cache: "pip" | |
- name: Install project deps | |
run: pip install . .[test] .[lint] | |
- name: Run pyright type-checker | |
run: pyright . |