From 61fc96181ee0a154eba1906ddefd033eefd3ff63 Mon Sep 17 00:00:00 2001 From: Sajith Sasidharan Date: Tue, 9 Mar 2021 16:57:20 -0500 Subject: [PATCH 1/2] Build docs on CI --- .circleci/config.yml | 12 ++++++++++++ newsfragments/3632.minor | 0 2 files changed, 12 insertions(+) create mode 100644 newsfragments/3632.minor diff --git a/.circleci/config.yml b/.circleci/config.yml index b00bcdcec..2daf3b93f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -458,6 +458,18 @@ jobs: command: | /tmp/venv/bin/tox -e typechecks + docs: + docker: + - <<: *DOCKERHUB_AUTH + image: "tahoelafsci/ubuntu:18.04-py3" + + steps: + - "checkout" + - run: + name: "Build documentation" + command: | + /tmp/venv/bin/tox -e docs + build-image: &BUILD_IMAGE # This is a template for a job to build a Docker image that has as much of # the setup as we can manage already done and baked in. This cuts down on diff --git a/newsfragments/3632.minor b/newsfragments/3632.minor new file mode 100644 index 000000000..e69de29bb From 70291cd468b2ee5de6dab574508fdee3aa4d5d1a Mon Sep 17 00:00:00 2001 From: Sajith Sasidharan Date: Fri, 19 Mar 2021 15:55:19 -0400 Subject: [PATCH 2/2] Add "docs" job to CircleCI workflow --- .circleci/config.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 2daf3b93f..1fb7558de 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -89,6 +89,9 @@ workflows: - "typechecks": <<: *DOCKERHUB_CONTEXT + - "docs": + <<: *DOCKERHUB_CONTEXT + images: # Build the Docker images used by the ci jobs. This makes the ci jobs # faster and takes various spurious failures out of the critical path.