From 3a2f4edbfb32a4b337465d4cb67dccecaeb5a0b9 Mon Sep 17 00:00:00 2001 From: GitHub Teacher Date: Fri, 21 Dec 2018 12:01:45 +0100 Subject: [PATCH] add link checks to config --- .circleci/config.yml | 37 ++++++++++++++++++++++++++++++++++++- 1 file changed, 36 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index ec6db2e..fd2dd6f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -15,8 +15,43 @@ jobs: - run: name: build the jekyll site - command: REPLACE-ME-WITH-BUILD-COMMAND + command: bundle exec jekyll build - run: name: notify build is finished command: echo "The build is finished!" + + testlinks: + executor: ci-executor + steps: + - checkout + + - run: + name: build dependencies + command: bundle install + + - run: + name: build the jekyll site + command: bundle exec jekyll build + + - run: + name: notify build is finished + command: echo "The build is finished!" + + - run: + name: run html proofer + command: REPLACE-ME-WITH-SCRIPT + + - run: + name: notify test is finished + command: echo "The test is completed!" + +workflows: + version: 2.1 + + build_and_test: + jobs: + - build + - testlinks: + requires: + - build