Skip to content

Commit

Permalink
SCRIPTS -> on-push / SCRIPTS_WEEKLY -> weekly
Browse files Browse the repository at this point in the history
  • Loading branch information
remi-braun committed Dec 17, 2024
1 parent c3b0dd2 commit 108b72d
Show file tree
Hide file tree
Showing 19 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,5 @@ docs/api
dask-worker-space/*

# Other files
/ci/SCRIPTS/test.py
/ci/on_push/test.py
/notebooks_tests/
12 changes: 6 additions & 6 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ pytest:
- pip install --ignore-installed PyYAML
- pip install -e .
script:
- python -m pytest -v --durations=0 --cov-report term --cov-report html:${CI_PROJECT_DIR}/cov_on_disk.html --cov=eoreader --cov-config=.coveragerc ci/SCRIPTS --log-cli-level DEBUG
- python -m pytest -v --durations=0 --cov-report term --cov-report html:${CI_PROJECT_DIR}/cov_on_disk.html --cov=eoreader --cov-config=.coveragerc ci/on_push --log-cli-level DEBUG
artifacts:
paths:
- ${CI_PROJECT_DIR}/cov_on_disk.html
Expand Down Expand Up @@ -64,7 +64,7 @@ pytest_s3:
- pip install --ignore-installed PyYAML
- pip install -e .
script:
- python -m pytest -v --durations=0 --cov-report term --cov-report html:${CI_PROJECT_DIR}/cov_s3.html --cov=eoreader --cov-config=.coveragerc ci/SCRIPTS --log-cli-level DEBUG --capture=tee-sys
- python -m pytest -v --durations=0 --cov-report term --cov-report html:${CI_PROJECT_DIR}/cov_s3.html --cov=eoreader --cov-config=.coveragerc ci/on_push --log-cli-level DEBUG --capture=tee-sys
artifacts:
paths:
- ${CI_PROJECT_DIR}/cov_s3.html
Expand Down Expand Up @@ -96,7 +96,7 @@ pytest_end_to_end:
- pip install --ignore-installed PyYAML
- 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_WEEKLY --log-cli-level DEBUG --capture=tee-sys
- python -m pytest -v --durations=0 --cov-report term --cov-report html:${CI_PROJECT_DIR}/cov_e2e.html --cov=eoreader --cov-config=.coveragerc ci/weekly --log-cli-level DEBUG --capture=tee-sys
artifacts:
paths:
- ${CI_PROJECT_DIR}/cov_e2e.html
Expand All @@ -123,7 +123,7 @@ pytest_end_to_end:
# - 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
# - python -m pytest -v --durations=0 --cov-report term --cov-report html:${CI_PROJECT_DIR}/cov_e2e.html --cov=eoreader --cov-config=.coveragerc ci/on_push --log-cli-level DEBUG --capture=tee-sys
# artifacts:
# paths:
# - ${CI_PROJECT_DIR}/cov_e2e.html
Expand Down Expand Up @@ -151,7 +151,7 @@ pytest_end_to_end:
# - 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
# - python -m pytest -v --durations=0 --cov-report term --cov-report html:${CI_PROJECT_DIR}/cov.html --cov=eoreader --cov-config=.coveragerc ci/on_push --log-cli-level DEBUG --capture=tee-sys
# artifacts:
# paths:
# - ${CI_PROJECT_DIR}/cov_e2e.html
Expand Down Expand Up @@ -179,7 +179,7 @@ pytest_end_to_end:
# - 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
# - python -m pytest -v --durations=0 --cov-report term --cov-report html:${CI_PROJECT_DIR}/cov_e2e.html --cov=eoreader --cov-config=.coveragerc ci/on_push --log-cli-level DEBUG --capture=tee-sys
# artifacts:
# paths:
# - ${CI_PROJECT_DIR}/cov_e2e.html
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion CI/scripts_utils.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""Utils module for scripts"""
"""Utils module for on_push"""

import logging
import os
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import pytest
from sertit import ci

from ci.SCRIPTS.test_custom import test_custom_invalid, test_custom_optical
from ci.on_push.test_custom import test_custom_invalid, test_custom_optical
from ci.scripts_utils import READER, dask_env, others_path, reduce_verbosity, s3_env
from eoreader import EOREADER_NAME
from eoreader.bands import (
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
from rasterio.windows import Window
from sertit import ci, path, rasters

from ci.SCRIPTS import test_satellites
from ci.on_push import test_satellites
from ci.scripts_utils import (
CI_EOREADER_S3,
READER,
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit 108b72d

Please sign in to comment.