From d2e2a22f6230f880c133f05cad73bd9b8490a909 Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Fri, 4 Dec 2020 10:34:21 -0500 Subject: [PATCH] Run typechecks in CircleCI --- .circleci/config.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index afa3fafa1..ff14d6dd3 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -91,6 +91,9 @@ workflows: - "build-porting-depgraph": <<: *DOCKERHUB_CONTEXT + - "typechecks": + <<: *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. @@ -475,6 +478,17 @@ jobs: . /tmp/venv/bin/activate ./misc/python3/depgraph.sh + typechecks: + docker: + - <<: *DOCKERHUB_AUTH + image: "jaraco/multipy-tox" + + steps: + - "checkout" + - run: + name: "Validate Types" + command: tox -e typechecks + 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