1220329ce4
In order to ensure that feature additions don't break existing Flex theme deployments, build the docs site on any branch push and PR. To do so, * Add a simple tox.ini that runs "pelican -s docs/pelicanconf.py" in virtualenvs configured for Python versions 3.6 - 3.9. * Add an additional GitHub Actions workflow that invokes these testenvs with the matching Python version, and runs on any branch push and on any pull request.
16 lines
221 B
INI
16 lines
221 B
INI
[tox]
|
|
envlist = py{36,37,38,39}
|
|
skipsdist = True
|
|
|
|
[gh-actions]
|
|
python =
|
|
3.6: py36
|
|
3.7: py37
|
|
3.8: py38
|
|
3.9: py39
|
|
|
|
[testenv]
|
|
deps =
|
|
-r docs/requirements.txt
|
|
commands =
|
|
pelican -s docs/pelicanconf.py
|