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:
17
17
env : PYVER=py38
18
18
- python : 3.9
19
19
env : PYVER=py39
20
- - python : 3.8
20
+ # Separate job for tasks which should only run once per build.
21
+ - python : 3.9
21
22
install :
22
- - pip install poetry
23
- - poetry install
23
+ - pip install poetry tox
24
24
- nvm install
25
25
- npm install --no-optional --no-audit --progress=false
26
+ - poetry install
26
27
script :
28
+ # Python linting.
29
+ - tox -e lint
30
+ # Docs website build.
27
31
- poetry run mkdocs build
28
- - npm run build
32
+ # Package build, incl. publishing an experimental pre-release via GitHub Pages for builds on `master`.
29
33
- 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
30
35
- poetry build
31
36
- cp -R dist site
32
37
deploy :
39
44
install :
40
45
- pip install poetry tox
41
46
script :
42
- - tox -e lint
43
47
- tox -e $(tox -l | grep ${PYVER} | xargs echo | sed 's/ /,/g')
44
48
branches :
45
49
except :
You can’t perform that action at this time.
0 commit comments