File tree Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -17,16 +17,21 @@ jobs:
1717 env : PYVER=py38
1818 - python : 3.9
1919 env : PYVER=py39
20- - python : 3.8
20+ # Separate job for tasks which should only run once per build.
21+ - python : 3.9
2122 install :
22- - pip install poetry
23- - poetry install
23+ - pip install poetry tox
2424 - nvm install
2525 - npm install --no-optional --no-audit --progress=false
26+ - poetry install
2627 script :
28+ # Python linting.
29+ - tox -e lint
30+ # Docs website build.
2731 - poetry run mkdocs build
28- - npm run build
32+ # Package build, incl. publishing an experimental pre-release via GitHub Pages for builds on `master`.
2933 - cat pyproject.toml| awk '{sub(/^version = .+/,"version = \"0.0.0.dev\"")}1' > pyproject.toml.tmp && mv pyproject.toml.tmp pyproject.toml
34+ - npm run build
3035 - poetry build
3136 - cp -R dist site
3237 deploy :
3944install :
4045 - pip install poetry tox
4146script :
42- - tox -e lint
4347 - tox -e $(tox -l | grep ${PYVER} | xargs echo | sed 's/ /,/g')
4448branches :
4549 except :
You can’t perform that action at this time.
0 commit comments