Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/readthedocs/sphinx_rtd_theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony Johnson <aj@ohess.org>2021-07-20 02:41:21 +0300
committerAnthony Johnson <aj@ohess.org>2021-07-20 02:41:21 +0300
commit09e2a0dc2c883d86890958560423179eecd37ba7 (patch)
tree88612912cfc5942122ae0b7de204078e085aef82 /.circleci
parent047169a972c21de65f7c51f2f8289c32b6623256 (diff)
parent6417defbeb79564c7258fc68bf71ba8179267377 (diff)
Merge branch 'master' into Blendify/sphinx4
Diffstat (limited to '.circleci')
-rw-r--r--.circleci/config.yml33
1 files changed, 25 insertions, 8 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml
index 57466e5..b2459dc 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -17,13 +17,20 @@ commands:
- run: pip install --user tox
- run: tox -e "<<parameters.version>>-sphinx{<<parameters.sphinx-version>>}"
run-build:
- description: "Verify assets were built"
+ description: "Ensure built assets are up to date"
steps:
- checkout
- run: npm ci
- run: npm run build
- - untracked_changes/check:
- path: sphinx_rtd_theme/
+ - run:
+ name: Ensure built assets are up to date
+ command: |
+ if [[ `git status sphinx_rtd_theme/ --porcelain` ]]
+ then
+ echo "ERROR: assets are out of date. Make sure to run 'npm run build' on your branch."
+ git status sphinx_rtd_theme/ --porcelain
+ exit 1
+ fi
jobs:
build:
@@ -67,8 +74,18 @@ workflows:
tests:
jobs:
- build
- - py39
- - py38
- - py37
- - py36
- - py27
+ - py39:
+ requires:
+ - build
+ - py38:
+ requires:
+ - build
+ - py37:
+ requires:
+ - build
+ - py36:
+ requires:
+ - build
+ - py27:
+ requires:
+ - build