Skip to content

Commit 21746b0

Browse files
committed
Adjust 3.8 stubtest command in CI
1 parent bad4390 commit 21746b0

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/test.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,14 @@ jobs:
7575
- name: Run Mypy stubtest
7676
# XXX doesn't work on Pypy due to some symtable issues...
7777
if: "!startsWith(matrix.python-version, 'pypy')"
78-
run: |
79-
stubtest --ignore-disjoint-bases --allowlist stubtest-allowlist json_stream_rs_tokenizer
78+
run: >
79+
stubtest
80+
${{
81+
!startsWith(matrix.python-version, '3.8')
82+
&& '--ignore-disjoint-bases'
83+
|| ''
84+
}}
85+
--allowlist stubtest-allowlist json_stream_rs_tokenizer
8086
- name: Save Rust/Cargo cache
8187
uses: actions/cache/save@v4
8288
if: always()

0 commit comments

Comments
 (0)