Skip to content

Commit 387467d

Browse files
committed
Update python-test.yml to support installation testing
1 parent 68d30f3 commit 387467d

File tree

1 file changed

+17
-2
lines changed

1 file changed

+17
-2
lines changed

.github/workflows/python-test.yml

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,13 @@ name: Test
55

66
on:
77
push:
8-
branches: [ "master" ]
8+
branches: [ "main" ]
9+
paths:
10+
- '**.py'
911
pull_request:
10-
branches: [ "master" ]
12+
branches: [ "main" ]
13+
paths:
14+
- '**.py'
1115

1216
permissions:
1317
contents: read
@@ -37,3 +41,14 @@ jobs:
3741
curl -Os https://uploader.codecov.io/latest/linux/codecov
3842
chmod +x codecov
3943
./codecov -t ${CODECOV_TOKEN}
44+
test:
45+
strategy:
46+
matrix:
47+
version: [ 3.9, 4, 5, 6, 7, 8, 9, 10, 11, 12, 12.0.1, 13, 14 ]
48+
directory: ["", "."]
49+
os: [ linux, macosx, windows ]
50+
runs-on: ${{ matrix.runner }}
51+
steps:
52+
- name: Install clang-tools
53+
run: |
54+
sudo clang-tools --install ${{ matrix.version }} --directory ${{ matrix.directory }}

0 commit comments

Comments
 (0)