diff --git a/.circleci/config.yml b/.circleci/config.yml index 399e18ada8..6149b19f86 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -17,10 +17,6 @@ jobs: python -m venv /tmp/venv/openfisca_core echo "source /tmp/venv/openfisca_core/bin/activate" >> $BASH_ENV - - run: - name: Checkout dependencies - command: make test.doc.checkout branch=$CIRCLE_BRANCH - - run: name: Install dependencies command: | @@ -52,6 +48,17 @@ jobs: COUNTRY_TEMPLATE_PATH=`python -c "import openfisca_country_template; print(openfisca_country_template.CountryTaxBenefitSystem().get_package_metadata()['location'])"` openfisca test $COUNTRY_TEMPLATE_PATH/openfisca_country_template/tests/ + test_docs: + docker: + - image: python:3.7 + + steps: + - checkout + + - run: + name: Checkout docs + command: make test.doc.checkout branch=$CIRCLE_BRANCH + check_version: docker: - image: python:3.7 @@ -127,6 +134,7 @@ workflows: build_and_deploy: jobs: - run_tests + - test_docs - check_version - submit_coverage: requires: @@ -134,6 +142,7 @@ workflows: - deploy: requires: - run_tests + - test_docs - check_version filters: branches: