Skip to content

Commit

Permalink
Add to circleci
Browse files Browse the repository at this point in the history
  • Loading branch information
Mauko Quiroga committed Sep 30, 2021
1 parent b1a25ff commit 94cc7a6
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,14 @@ jobs:
name: Run openfisca-core tests
command: make test-core pytest_args="--exitfirst"

- run:
name: Run country-template tests
command: make test-country pytest_args="--exitfirst"

- run:
name: Run extension-template tests
command: make test-extension pytest_args="--exitfirst"

- run:
name: Check NumPy typing against latest 3 minor versions
command: for i in {1..3}; do VERSION=$(.circleci/get-numpy-version.py prev) && pip install numpy==$VERSION && make check-types; done
Expand All @@ -49,12 +57,6 @@ jobs:
paths:
- .coverage

- run:
name: Run Country Template tests
command: |
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
Expand Down

0 comments on commit 94cc7a6

Please sign in to comment.