File tree Expand file tree Collapse file tree 3 files changed +14
-22
lines changed Expand file tree Collapse file tree 3 files changed +14
-22
lines changed Original file line number Diff line number Diff line change 88 deploy :
99 runs-on : ubuntu-latest
1010 steps :
11- - uses : actions/checkout@v1
11+ - uses : actions/checkout@v2
1212 - name : Set up Python
13- uses : actions/setup-python@v1
13+ uses : actions/setup-python@v2
1414 with :
1515 python-version : ' 3.x'
1616 - name : Install dependencies
2222 git config --global user.name "Github Action"
2323 git config --global user.email "githubaction@gmail.com"
2424 pip install -r tests/test_requirements.txt
25- pip install -e .
25+ pip install mkdocs-material
26+ pip install .
2627 pytest
2728 - name : Build and publish
2829 env :
3132 run : |
3233 python setup.py sdist bdist_wheel
3334 twine upload dist/*
35+
36+ - name : Deploy mkdocs site
37+ run : |
38+ mkdocs gh-deploy --force
Original file line number Diff line number Diff line change 1717 strategy :
1818 matrix :
1919 os : [ubuntu-latest, macos-latest, windows-latest]
20- python-version : [3.5 , 3.6 , 3.7 ]
20+ python-version : [3.6 , 3.7 , 3.8, 3.9 ]
2121 steps :
2222 - uses : actions/checkout@master
2323
2626 with :
2727 python-version : ${{ matrix.python-version }}
2828
29- # https://github.com/actions/virtual-environments/issues/294
30- - name : Configure path to rc.exe for Python 3.5
31- run : |
32- function Invoke-VSDevEnvironment {
33- $vswhere = "${env:ProgramFiles(x86)}\Microsoft Visual Studio\Installer\vswhere.exe"
34- $installationPath = & $vswhere -prerelease -legacy -latest -property installationPath
35- $Command = Join-Path $installationPath "Common7\Tools\vsdevcmd.bat"
36- & "${env:COMSPEC}" /s /c "`"$Command`" -no_logo && set" | Foreach-Object {
37- if ($_ -match '^([^=]+)=(.*)') {
38- [System.Environment]::SetEnvironmentVariable($matches[1], $matches[2])
39- }
40- }
41- }
42- Invoke-VSDevEnvironment
43- Get-Command rc.exe | Format-Table -AutoSize
44- if : matrix.os == 'windows-latest' && matrix.python-version == '3.5'
45-
4629 - name : Install dependencies
4730 run : |
4831 pip3 install --upgrade pip
Original file line number Diff line number Diff line change 2222 author_email = "vinktim@gmail.com" ,
2323 include_package_data = True ,
2424 license = "MIT" ,
25- python_requires = ">=3.5 " ,
25+ python_requires = ">=3.6 " ,
2626 classifiers = [
2727 "Programming Language :: Python :: 3" ,
28+ "Programming Language :: Python :: 3.6" ,
29+ "Programming Language :: Python :: 3.7" ,
30+ "Programming Language :: Python :: 3.8" ,
31+ "Programming Language :: Python :: 3.9" ,
2832 "License :: OSI Approved :: MIT License" ,
2933 "Operating System :: OS Independent" ,
3034 ],
You can’t perform that action at this time.
0 commit comments