check table of contents in circleci

This commit is contained in:
Martin Lundfall 2019-12-10 17:38:37 +01:00
parent aa0c9f89c3
commit 8408ec6311
1 changed files with 9 additions and 0 deletions

View File

@ -103,6 +103,14 @@ jobs:
command: make citest
- store_test_results:
path: test_libs/pyspec/test-reports
table_of_contents:
docker:
- image: circleci/node:10.16.3
working_directory: ~/specs-repo
steps:
- run:
name: Check table of contents
command: npm install -g doctoc && make check_toc
lint:
docker:
- image: circleci/python:3.6
@ -148,6 +156,7 @@ workflows:
- test:
requires:
- install_pyspec_test
- table_of_contents
- lint:
requires:
- test