@@ -59,44 +59,11 @@ jobs:
5959 $content = $content -replace "use_scm_version=.*", ""
6060 Set-Content setup.py $content
6161
62- - name : Install dependencies
62+ - name : Install tox
6363 run : |
6464 python -m pip install --upgrade pip
65-
66- - name : Install Python 3.8 dependencies
67- if : matrix.python-version == '3.8'
68- run : |
69- pip install atomicwrites==1.4.1 attrs==20.3.0 more-itertools==10.5.0 pluggy==0.13.1 py==1.11.0 pytest==4.5.0 PyYAML==5.1 six==1.16.0 wcwidth==0.2.13
70-
71- - name : Install Python 3.9 dependencies
72- if : matrix.python-version == '3.9'
73- run : |
74- pip install exceptiongroup==1.2.2 iniconfig==2.0.0 packaging==24.1 pluggy==1.5.0 pytest==8.3.3 PyYAML==6.0.2 tomli==2.0.1
75-
76- - name : Install Python 3.10 dependencies
77- if : matrix.python-version == '3.10'
78- run : |
79- pip install attrs==24.2.0 iniconfig==2.0.0 packaging==24.1 pluggy==0.13.1 py==1.11.0 pyperf==2.2.0 pytest==6.2.4 PyYAML==5.4.1 toml==0.10.2
80-
81- - name : Install Python 3.11 dependencies
82- if : matrix.python-version == '3.11'
83- run : |
84- pip install attrs==24.2.0 iniconfig==2.0.0 packaging==24.1 pluggy==1.5.0 py==1.11.0 pyperf==2.4.1 pytest==7.1.2 PyYAML==6.0 tomli==2.0.1
85-
86- - name : Install Python 3.12 dependencies
87- if : matrix.python-version == '3.12'
88- run : |
89- pip install iniconfig==2.0.0 packaging==24.1 pip==24.2 pluggy==1.5.0 psutil==6.0.0 pyperf==2.6.1 pytest==7.4.2 PyYAML==6.0.1
90-
91- - name : Install Python 3.13 dependencies
92- if : matrix.python-version == '3.13'
93- run : |
94- pip install iniconfig==2.0.0 packaging==24.1 pip==24.2 pluggy==1.5.0 psutil==6.0.0 pyperf==2.7.0 pytest==8.3.3 PyYAML==6.0.2
95-
96- - name : Install package
97- run : |
98- pip install .
65+ pip install tox
9966
10067 - name : Run tests
10168 run : |
102- pytest test/ --junitxml=junit-python ${{ matrix.python-version }}.xml --maxfail=1 --verbose
69+ tox -c tox-windows.ini -r -e ${{ matrix.python-version }}
0 commit comments