Skip to content

Commit 09e2a0d

Browse files
committed
Merge branch 'master' into Blendify/sphinx4
2 parents 047169a + 6417def commit 09e2a0d

File tree

1 file changed

+25
-8
lines changed

1 file changed

+25
-8
lines changed

.circleci/config.yml

Lines changed: 25 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,20 @@ commands:
1717
- run: pip install --user tox
1818
- run: tox -e "<<parameters.version>>-sphinx{<<parameters.sphinx-version>>}"
1919
run-build:
20-
description: "Verify assets were built"
20+
description: "Ensure built assets are up to date"
2121
steps:
2222
- checkout
2323
- run: npm ci
2424
- run: npm run build
25-
- untracked_changes/check:
26-
path: sphinx_rtd_theme/
25+
- run:
26+
name: Ensure built assets are up to date
27+
command: |
28+
if [[ `git status sphinx_rtd_theme/ --porcelain` ]]
29+
then
30+
echo "ERROR: assets are out of date. Make sure to run 'npm run build' on your branch."
31+
git status sphinx_rtd_theme/ --porcelain
32+
exit 1
33+
fi
2734
2835
jobs:
2936
build:
@@ -67,8 +74,18 @@ workflows:
6774
tests:
6875
jobs:
6976
- build
70-
- py39
71-
- py38
72-
- py37
73-
- py36
74-
- py27
77+
- py39:
78+
requires:
79+
- build
80+
- py38:
81+
requires:
82+
- build
83+
- py37:
84+
requires:
85+
- build
86+
- py36:
87+
requires:
88+
- build
89+
- py27:
90+
requires:
91+
- build

0 commit comments

Comments
 (0)