9
9
strategy :
10
10
matrix :
11
11
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 ]
13
13
steps :
14
14
- uses : actions/checkout@master
15
15
18
18
with :
19
19
python-version : ${{ matrix.python-version }}
20
20
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
-
38
21
- name : Install dependencies
39
22
run : |
40
23
pip3 install --upgrade pip
52
35
run : |
53
36
git config --global user.name "Github Action"
54
37
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