File tree Expand file tree Collapse file tree 3 files changed +24
-10
lines changed Expand file tree Collapse file tree 3 files changed +24
-10
lines changed Original file line number Diff line number Diff line change @@ -25,17 +25,30 @@ jobs:
25
25
test :
26
26
strategy :
27
27
matrix :
28
- os : [ ubuntu-latest ]
29
- python-version :
30
- - " 3.8"
31
- - " 3.9"
32
- - " 3.10"
33
- - " 3.11"
34
- - " 3.12"
35
- - " 3.13"
28
+ os : [ ubuntu-latest, windows-latest, macos-latest ]
29
+ python-version : [ "3.13" ]
36
30
pydantic-version :
37
31
- pydantic-v1
38
32
- pydantic-v2
33
+ include :
34
+ - os : macos-latest
35
+ python-version : " 3.8"
36
+ pydantic-version : pydantic-v1
37
+ - os : windows-latest
38
+ python-version : " 3.9"
39
+ pydantic-version : pydantic-v2
40
+ - os : ubuntu-latest
41
+ python-version : " 3.10"
42
+ pydantic-version : pydantic-v1
43
+ - os : macos-latest
44
+ python-version : " 3.11"
45
+ pydantic-version : pydantic-v2
46
+ - os : windows-latest
47
+ python-version : " 3.12"
48
+ pydantic-version : pydantic-v1
49
+ - os : ubuntu-latest
50
+ python-version : " 3.12"
51
+ pydantic-version : pydantic-v2
39
52
fail-fast : false
40
53
runs-on : ${{ matrix.os }}
41
54
steps :
78
91
- name : Store coverage files
79
92
uses : actions/upload-artifact@v4
80
93
with :
81
- name : coverage-${{ matrix.python-version }}-${{ matrix.pydantic-version }}
94
+ name : coverage-${{ runner.os }}-${{ matrix.python-version }}-${{ matrix.pydantic-version }}
82
95
path : coverage
83
96
include-hidden-files : true
84
97
Original file line number Diff line number Diff line change @@ -81,6 +81,7 @@ source = [
81
81
]
82
82
context = ' ${CONTEXT}'
83
83
dynamic_context = " test_function"
84
+ relative_files = true
84
85
85
86
[tool .coverage .report ]
86
87
show_missing = true
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ def test_select_gen() -> None:
13
13
env = os .environ .copy ()
14
14
env ["CHECK_JINJA" ] = "1"
15
15
result = subprocess .run (
16
- [sys .executable , "scripts/ generate_select.py" ],
16
+ [sys .executable , Path ( "scripts" ) / " generate_select.py" ],
17
17
env = env ,
18
18
check = True ,
19
19
cwd = root_path ,
You can’t perform that action at this time.
0 commit comments