File tree Expand file tree Collapse file tree 1 file changed +17
-2
lines changed Expand file tree Collapse file tree 1 file changed +17
-2
lines changed Original file line number Diff line number Diff line change 1
1
name : Test/build
2
2
3
- on : [push, pull_request]
3
+ on :
4
+ workflow_dispatch : # Allows manual triggering
5
+ push : # only build on pusheess to the main branch
6
+ branches :
7
+ - master
8
+ pull_request :
4
9
5
10
jobs :
6
11
build :
9
14
max-parallel : 4
10
15
fail-fast : false
11
16
matrix :
12
- python-version : [3.8 , 3.9, '3.10', 3.11 ]
17
+ python-version : [3.11 , 3.12 ]
13
18
platform : [ubuntu-latest, macos-latest, windows-latest]
19
+ # The include below adds jobs on older versions of python,
20
+ # but just on one platform. Windows is probably the most widely
21
+ # used for vpython, so test on that.
22
+ include :
23
+ - python-version : " 3.8"
24
+ platform : windows-latest
25
+ - python-version : " 3.9"
26
+ platform : windows-latest
27
+ - python-version : " 3.10"
28
+ platform : windows-latest
14
29
runs-on : ${{ matrix.platform }}
15
30
16
31
steps :
You can’t perform that action at this time.
0 commit comments