Skip to content

Commit bfc2696

Browse files
committed
Update gh actions to run 3.6+
1 parent 4391dce commit bfc2696

File tree

1 file changed

+3
-19
lines changed

1 file changed

+3
-19
lines changed

.github/workflows/unittests.yml

Lines changed: 3 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
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

@@ -18,23 +18,6 @@ jobs:
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
@@ -52,4 +35,5 @@ jobs:
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

Comments
 (0)