99 strategy :
1010 matrix :
1111 os : [ubuntu-latest, macos-latest, windows-latest]
12- python-version : [3.5 , 3.6 , 3.7 ]
12+ python-version : [3.6 , 3.7 , 3.8, 3.9 ]
1313 steps :
1414 - uses : actions/checkout@master
1515
1818 with :
1919 python-version : ${{ matrix.python-version }}
2020
21- # https://github.com/actions/virtual-environments/issues/294
22- - name : Configure path to rc.exe for Python 3.5
23- run : |
24- function Invoke-VSDevEnvironment {
25- $vswhere = "${env:ProgramFiles(x86)}\Microsoft Visual Studio\Installer\vswhere.exe"
26- $installationPath = & $vswhere -prerelease -legacy -latest -property installationPath
27- $Command = Join-Path $installationPath "Common7\Tools\vsdevcmd.bat"
28- & "${env:COMSPEC}" /s /c "`"$Command`" -no_logo && set" | Foreach-Object {
29- if ($_ -match '^([^=]+)=(.*)') {
30- [System.Environment]::SetEnvironmentVariable($matches[1], $matches[2])
31- }
32- }
33- }
34- Invoke-VSDevEnvironment
35- Get-Command rc.exe | Format-Table -AutoSize
36- if : matrix.os == 'windows-latest' && matrix.python-version == '3.5'
37-
3821 - name : Install dependencies
3922 run : |
4023 pip3 install --upgrade pip
5235 run : |
5336 git config --global user.name "Github Action"
5437 git config --global user.email "[email protected] " 55- pytest --cov=mkdocs_git_revision_date_localized_plugin --cov-report=xml
38+ pytest --cov=mkdocs_git_revision_date_localized_plugin --cov-report=xml
39+
0 commit comments