diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 884c535d..3508ffa1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -71,6 +71,21 @@ Build matched data: when: manual Test: + stage: test + image: $CI_REGISTRY_IMAGE:latest + tags: + - data-in + before_script: + - mkdir -p ~/.config/openfisca-survey-manager + - pip3 install -e .[dev] + - cp ./runner/openfisca_survey_manager_raw_data.ini ~/.config/openfisca-survey-manager/raw_data.ini + - cp /mnt/data-out/openfisca-france-indirect-taxation/openfisca_survey_manager_config_with_matched_data.ini ~/.config/openfisca-survey-manager/config.ini + - mkdir -p /root/ci-files/data_collections + script: + - openfisca test --country-package openfisca_france_indirect_taxation openfisca_france_indirect_taxation/tests/test_prix_carburants_accises.py + + +Test_All: stage: test image: $CI_REGISTRY_IMAGE:latest tags: