From f99aa0e024c6d60e9e33e077353e9c58fca09c6c Mon Sep 17 00:00:00 2001
From: jakkdl
Date: Sat, 23 Dec 2023 13:25:02 +0100
Subject: [PATCH] expand CI pyright to full python version matrix, and add
--verbose
---
.github/workflows/test.yml | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index be21a4c..74b0b6f 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -7,13 +7,17 @@ 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
@@ -21,7 +25,7 @@ jobs:
- name: Install dependencies
run: pip install -e . pyright
- name: Run pyright
- run: pyright --verifytypes exceptiongroup
+ run: pyright --verifytypes exceptiongroup --verbose
test:
strategy: