From 32ca88c3c0a4a96683df00f926cc3b0a64aca809 Mon Sep 17 00:00:00 2001 From: Alan Coleman <alanc@udel.edu> Date: Tue, 5 Mar 2024 11:42:55 +0100 Subject: [PATCH] Add python examples to CI --- .gitlab-ci.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 918d02cf4..82fb6f6c1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -222,7 +222,7 @@ build_test-clang-14: junit: - ${CI_PROJECT_DIR}/build/test_outputs/junit*.xml paths: - - ${CI_PROJECT_DIR}/build/build_examples/example_outputs/radio_em_shower_outputs #python examples need this + - ${CI_PROJECT_DIR}/build/build_examples/example_outputs #python tests/examples need this - ${CI_PROJECT_DIR}/build/test_outputs/junit*.xml - ${CI_PROJECT_DIR}/build/CMakeCache.txt #python tests need this - ${CI_PROJECT_DIR}/build/bin #python tests need this @@ -411,9 +411,7 @@ python-tests: allow_failure: false python-examples: - stage: python - tags: - - corsika + extends: .pthon image: corsika/devel:u-22.04 needs: - job: build_test_example-u-22_04 @@ -425,7 +423,6 @@ python-examples: - ${CI_PROJECT_DIR}/python/examples/example_plots script: - export EXAMPLE_SHOWER_DIR=${CI_PROJECT_DIR}/build/build_examples/example_outputs/radio_em_shower_outputs - - echo "Example dir is @EXAMPLE_SHOWER_DIR" - cd ${CI_PROJECT_DIR}/python - pip3 install --user -e '.[test,examples]' - cd ${CI_PROJECT_DIR}/python/examples -- GitLab