From ea80573287e5472cd003566f1aba27f76912a2bf Mon Sep 17 00:00:00 2001 From: BRAUN REMI Date: Mon, 29 Jul 2024 15:48:19 +0200 Subject: [PATCH] CI: Remove for now end-to-end tests with Python 3.11 and 3.10. --- .gitlab-ci.yml | 110 ++++++++++++++++++++++++------------------------- CHANGES.md | 1 + 2 files changed, 56 insertions(+), 55 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3e1a4d40..93f01e32 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -117,61 +117,61 @@ pytest_end_to_end: - if: $CI_COMMIT_TAG when: always -pytest_end_to_end310: - image: $EO_CONTAINER:geo_310 - stage: test - variables: - # Use Dask for python 3.10 - EOREADER_USE_DASK: "1" - before_script: - - python -m pip install --upgrade pip - - pip install --ignore-installed PyYAML - - pip install pytest coverage pytest-cov pylint - - pip install -e . - script: - - python -m pytest -v --durations=0 --cov-report term --cov-report html:${CI_PROJECT_DIR}/cov_e2e.html --cov=eoreader --cov-config=.coveragerc CI/SCRIPTS --log-cli-level DEBUG --capture=tee-sys - artifacts: - paths: - - ${CI_PROJECT_DIR}/cov_e2e.html - coverage: '/TOTAL\s+\d+\s+\d+\s+(\d+%)/' - tags: - - sertit - - linux - - high_memory - rules: - - if: '$CI_PIPELINE_SOURCE == "schedule" && $SCHEDULE_NAME == "END_TO_END"' - when: always - - if: $CI_COMMIT_TAG - when: always - needs: [ "pytest_end_to_end" ] - -pytest_end_to_end311: - image: $EO_CONTAINER:geo_311 - stage: test - variables: - # Use Dask for python 3.11 - EOREADER_USE_DASK: "1" - before_script: - - python -m pip install --upgrade pip - - pip install --ignore-installed PyYAML - - pip install pytest coverage pytest-cov pylint - - pip install -e . - script: - - python -m pytest -v --durations=0 --cov-report term --cov-report html:${CI_PROJECT_DIR}/cov.html --cov=eoreader --cov-config=.coveragerc CI/SCRIPTS --log-cli-level DEBUG --capture=tee-sys - artifacts: - paths: - - ${CI_PROJECT_DIR}/cov_e2e.html - coverage: '/TOTAL\s+\d+\s+\d+\s+(\d+%)/' - tags: - - sertit - - linux - - high_memory - rules: - - if: '$CI_PIPELINE_SOURCE == "schedule" && $SCHEDULE_NAME == "END_TO_END"' - when: always - - if: $CI_COMMIT_TAG - when: always - needs: [ "pytest_end_to_end310" ] +#pytest_end_to_end310: +# image: $EO_CONTAINER:geo_310 +# stage: test +# variables: +# # Use Dask for python 3.10 +# EOREADER_USE_DASK: "1" +# before_script: +# - python -m pip install --upgrade pip +# - pip install --ignore-installed PyYAML +# - pip install pytest coverage pytest-cov pylint +# - pip install -e . +# script: +# - python -m pytest -v --durations=0 --cov-report term --cov-report html:${CI_PROJECT_DIR}/cov_e2e.html --cov=eoreader --cov-config=.coveragerc CI/SCRIPTS --log-cli-level DEBUG --capture=tee-sys +# artifacts: +# paths: +# - ${CI_PROJECT_DIR}/cov_e2e.html +# coverage: '/TOTAL\s+\d+\s+\d+\s+(\d+%)/' +# tags: +# - sertit +# - linux +# - high_memory +# rules: +# - if: '$CI_PIPELINE_SOURCE == "schedule" && $SCHEDULE_NAME == "END_TO_END"' +# when: always +# - if: $CI_COMMIT_TAG +# when: always +# needs: [ "pytest_end_to_end" ] +# +#pytest_end_to_end311: +# image: $EO_CONTAINER:geo_311 +# stage: test +# variables: +# # Use Dask for python 3.11 +# EOREADER_USE_DASK: "1" +# before_script: +# - python -m pip install --upgrade pip +# - pip install --ignore-installed PyYAML +# - pip install pytest coverage pytest-cov pylint +# - pip install -e . +# script: +# - python -m pytest -v --durations=0 --cov-report term --cov-report html:${CI_PROJECT_DIR}/cov.html --cov=eoreader --cov-config=.coveragerc CI/SCRIPTS --log-cli-level DEBUG --capture=tee-sys +# artifacts: +# paths: +# - ${CI_PROJECT_DIR}/cov_e2e.html +# coverage: '/TOTAL\s+\d+\s+\d+\s+(\d+%)/' +# tags: +# - sertit +# - linux +# - high_memory +# rules: +# - if: '$CI_PIPELINE_SOURCE == "schedule" && $SCHEDULE_NAME == "END_TO_END"' +# when: always +# - if: $CI_COMMIT_TAG +# when: always +# needs: [ "pytest_end_to_end310" ] #pytest_end_to_end312: # image: $EO_CONTAINER:geo_312 diff --git a/CHANGES.md b/CHANGES.md index 9ce78fc9..3052ed70 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -18,6 +18,7 @@ - FIX: Fix an unknown Planet bug that just appeared (`'...Path' has no len()`) - OPTIM: Search correctly nested metadata in the Reader (without accidentally using a recursive glob) - CI: Fix S3 endpoint management with `sertit>=1.37` +- CI: Remove for now end-to-end tests with Python 3.11 and 3.10. ## 0.21.1 (2024-04-03)