4
4
push :
5
5
6
6
jobs :
7
- test-lin :
7
+ test :
8
8
strategy :
9
9
matrix :
10
- os : ['ubuntu']
10
+ os : ['ubuntu', 'windows' ]
11
11
pyver : ['3.8', '3.9', '3.10', '3.11', '3.12']
12
12
runs-on : ${{ matrix.os }}-latest
13
13
name : ${{ matrix.os }} | ${{ matrix.pyver }}
14
+ exclude :
15
+ os : ['windows']
16
+ pyver : ['3.8', '3.9', '3.10', '3.11']
14
17
steps :
15
18
- name : Checkout repository
16
19
uses : actions/checkout@v4
17
- with :
18
- submodules : true
19
- fetch-depth : 0
20
20
- name : Set up Python ${{ matrix.pyver }}
21
21
uses : actions/setup-python@v5
22
22
with :
@@ -25,22 +25,30 @@ jobs:
25
25
run : pip install . && pip install pytest
26
26
- name : Run tests
27
27
run : |
28
- source tests/mocks/source-me.sh && make test
29
- cd examples/projects && bash regress.sh
30
- test-win :
31
- runs-on : windows-latest
32
- name : windows | 3.12
33
- steps :
34
- - name : Checkout repository
35
- uses : actions/checkout@v4
36
- with :
37
- submodules : true
38
- fetch-depth : 0
39
- - name : Set up Python 3.12
40
- uses : actions/setup-python@v5
41
- with :
42
- python-version : 3.12
43
- - name : Install dependencies
44
- run : pip install . && pip install pytest
45
- - name : Run tests
46
- run : make test
28
+ make test
29
+
30
+ # source tests/mocks/source-me.sh && make test
31
+ # cd examples/projects && bash regress.sh
32
+ # test-win:
33
+ # strategy:
34
+ # matrix:
35
+ # os: ['windows']
36
+ # pyver: ['3.12']
37
+ # runs-on: ${{ matrix.os }}-latest
38
+ # name: ${{ matrix.os }} | ${{ matrix.pyver }}
39
+ # steps:
40
+ # - name: Checkout repository
41
+ # uses: actions/checkout@v4
42
+ # - name: Set up Python ${{ matrix.pyver }}
43
+ # uses: actions/setup-python@v5
44
+ # with:
45
+ # python-version: ${{ matrix.pyver }}
46
+ # - name: Install dependencies
47
+ # run: pip install . && pip install pytest
48
+ # - name: Run tests
49
+ # run: |
50
+ # source tests/mocks/source-me.sh && make test
51
+ # cd examples/projects && bash regress.sh
52
+
53
+ # $Env:PATH += ";${{ github.workspace }}\tests\mocks"
54
+ # cd examples\projects && python3 vivado.py
0 commit comments