Skip to content

Commit

Permalink
expand CI pyright to full python version matrix, and add --verbose
Browse files Browse the repository at this point in the history
  • Loading branch information
jakkdl committed Dec 23, 2023
1 parent cd02a0a commit f99aa0e
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,25 @@ on:

jobs:
pyright:
strategy:
fail-fast: false
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.x
python-version: ${{ matrix.python-version }}
- uses: actions/cache@v3
with:
path: ~/.cache/pip
key: pip-pyright
- name: Install dependencies
run: pip install -e . pyright
- name: Run pyright
run: pyright --verifytypes exceptiongroup
run: pyright --verifytypes exceptiongroup --verbose

test:
strategy:
Expand Down

0 comments on commit f99aa0e

Please sign in to comment.