Skip to content

Commit

Permalink
CI: Remove for now end-to-end tests with Python 3.11 and 3.10.
Browse files Browse the repository at this point in the history
  • Loading branch information
remi-braun committed Jul 29, 2024
1 parent eeede8c commit ea80573
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 55 deletions.
110 changes: 55 additions & 55 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit ea80573

Please sign in to comment.