From 0c923b64677cd18cbd5b42b2de0a487514549aa4 Mon Sep 17 00:00:00 2001 From: Joel Pasvolsky Date: Tue, 7 Apr 2020 13:41:52 -0700 Subject: [PATCH] Add automated link checks --- .circleci/config.yml | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 7c9479e..5880069 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -30,7 +30,7 @@ jobs: paths: - ./env key: v2-dependencies-{{ checksum "requirements.txt" }}-{{ .Environment.CIRCLE_JOB }} - + - run: &run-tests-template name: run unittests command: | @@ -50,6 +50,12 @@ jobs: . env/bin/activate make -C docs/ doctest + - run: + name: linkcheck + command: | + . env/bin/activate + make -C docs/ linkcheck linkcheck_retries=3 linkcheck_anchors=False linkcheck_ignore=[https:\/\/codecov.*] + test-3.7: <<: *full-test-template docker: @@ -74,10 +80,10 @@ jobs: working_directory: ~/repo - steps: + steps: - checkout - - run: + - run: name: install pyenv command: | brew install pyenv @@ -114,7 +120,7 @@ jobs: paths: - ./env key: v2-dependencies-{{ checksum "requirements.txt" }}-{{ .Environment.CIRCLE_JOB }} - + - run: *run-tests-template test-osx-3.7: