Skip to content

Commit

Permalink
Move test docs to its own job
Browse files Browse the repository at this point in the history
  • Loading branch information
Mauko Quiroga committed Aug 29, 2021
1 parent a9a4290 commit cf5f1d8
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -127,13 +134,15 @@ workflows:
build_and_deploy:
jobs:
- run_tests
- test_docs
- check_version
- submit_coverage:
requires:
- run_tests
- deploy:
requires:
- run_tests
- test_docs
- check_version
filters:
branches:
Expand Down

0 comments on commit cf5f1d8

Please sign in to comment.