From 8408ec6311697f594ff3bd372e1fc11a7dcc1522 Mon Sep 17 00:00:00 2001 From: Martin Lundfall Date: Tue, 10 Dec 2019 17:38:37 +0100 Subject: [PATCH] check table of contents in circleci --- .circleci/config.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index b612378e2..410763f95 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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