Skip to content

Commit 2ff41eb

Browse files
committed
test: add condition to test
1 parent 8736bd2 commit 2ff41eb

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/python-test.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ jobs:
7777
needs: [build]
7878
strategy:
7979
matrix:
80-
version: [ 9, 10, 11, 12, 12.0.1, 13, 14, 15, 16, 17, 18, 19, 20, 21 ]
80+
version: [ 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21 ]
8181
os: [ ubuntu-latest, macos-13, windows-latest ]
8282
fail-fast: false
8383
runs-on: ${{ matrix.os }}
@@ -151,11 +151,14 @@ jobs:
151151
fi
152152
153153
- name: Install clang-tools wheels
154+
if: matrix.version >= 13 # Only versions 13 and above have wheels
154155
run: |
155156
clang-tools-wheel --tool clang-format --version ${{ matrix.version }}
156157
clang-tools-wheel --tool clang-tidy --version ${{ matrix.version }}
157158
158159
- name: Check clang tool wheels
160+
if: matrix.version >= 13
161+
shell: bash
159162
run: |
160163
set -e
161164
echo "Checking clang-format and clang-tidy versions..."

0 commit comments

Comments
 (0)