Skip to content

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -163,22 +163,22 @@ jobs:
163163
version: ${{ steps.pyright_version.outputs.value }}
164164
python-platform: ${{ matrix.python-platform }}
165165
python-version: ${{ matrix.python-version }}
166-
no-comments: ${{ matrix.python-version != '3.11' || matrix.python-platform != 'Linux' }} # Having each job create the same comment is too noisy.
166+
annotate: ${{ matrix.python-version == '3.11' && matrix.python-platform == 'Linux' }} # Having each job create the same comment is too noisy.
167167
- name: Run pyright with stricter settings on some of the stubs
168168
uses: jakebailey/pyright-action@v2
169169
with:
170170
version: ${{ steps.pyright_version.outputs.value }}
171171
python-platform: ${{ matrix.python-platform }}
172172
python-version: ${{ matrix.python-version }}
173-
no-comments: ${{ matrix.python-version != '3.11' || matrix.python-platform != 'Linux' }} # Having each job create the same comment is too noisy.
173+
annotate: ${{ matrix.python-version == '3.11' && matrix.python-platform == 'Linux' }} # Having each job create the same comment is too noisy.
174174
project: ./pyrightconfig.stricter.json
175175
- name: Run pyright on the test cases
176176
uses: jakebailey/pyright-action@v2
177177
with:
178178
version: ${{ steps.pyright_version.outputs.value }}
179179
python-platform: ${{ matrix.python-platform }}
180180
python-version: ${{ matrix.python-version }}
181-
no-comments: ${{ matrix.python-version != '3.11' || matrix.python-platform != 'Linux' }} # Having each job create the same comment is too noisy.
181+
annotate: ${{ matrix.python-version == '3.11' && matrix.python-platform == 'Linux' }} # Having each job create the same comment is too noisy.
182182
project: ./pyrightconfig.testcases.json
183183

184184
stub-uploader:

0 commit comments

Comments
 (0)