Skip to content
Snippets Groups Projects
Select Git revision
  • 1a125b32bb2ba4ee49b8c8a27c2dc4866b6655ef
  • master default protected
  • enxhi_issue460_remove_TOAR-I_access
  • michael_issue459_preprocess_german_stations
  • sh_pollutants
  • develop protected
  • release_v2.4.0
  • michael_issue450_feat_load-ifs-data
  • lukas_issue457_feat_set-config-paths-as-parameter
  • lukas_issue454_feat_use-toar-statistics-api-v2
  • lukas_issue453_refac_advanced-retry-strategy
  • lukas_issue452_bug_update-proj-version
  • lukas_issue449_refac_load-era5-data-from-toar-db
  • lukas_issue451_feat_robust-apriori-estimate-for-short-timeseries
  • lukas_issue448_feat_load-model-from-path
  • lukas_issue447_feat_store-and-load-local-clim-apriori-data
  • lukas_issue445_feat_data-insight-plot-monthly-distribution
  • lukas_issue442_feat_bias-free-evaluation
  • lukas_issue444_feat_choose-interp-method-cams
  • 414-include-crps-analysis-and-other-ens-verif-methods-or-plots
  • lukas_issue384_feat_aqw-data-handler
  • v2.4.0 protected
  • v2.3.0 protected
  • v2.2.0 protected
  • v2.1.0 protected
  • Kleinert_etal_2022_initial_submission
  • v2.0.0 protected
  • v1.5.0 protected
  • v1.4.0 protected
  • v1.3.0 protected
  • v1.2.1 protected
  • v1.2.0 protected
  • v1.1.0 protected
  • IntelliO3-ts-v1.0_R1-submit
  • v1.0.0 protected
  • v0.12.2 protected
  • v0.12.1 protected
  • v0.12.0 protected
  • v0.11.0 protected
  • v0.10.0 protected
  • IntelliO3-ts-v1.0_initial-submit
41 results

.gitlab-ci.yml

Blame
  • .gitlab-ci.yml 4.13 KiB
    stages:
      - init
      - test
      - docs
      - pages
    
    ### Static Badges ###
    version:
      stage: init
      tags:
        - leap
        - zam347
        - base
      only:
        - master
        - tags
      script:
        - chmod +x ./CI/update_badge.sh
        - chmod +x ./CI/create_version_badge.sh
        - ./CI/create_version_badge.sh
      artifacts:
        name: pages
        when: always
        expire_in: 1 week
        paths:
          - badges/
    
    ### Tests (from scratch) ###
    tests (from scratch):
      tags:
        - base
        - zam347
      stage: test
      only:
        - master
        - /^release.*$/
        - develop
        - lukas_issue452_bug_update-proj-version
      variables:
        FAILURE_THRESHOLD: 100
        TEST_TYPE: "scratch"
      before_script:
        - chmod +x ./CI/update_badge.sh
        - ./CI/update_badge.sh > /dev/null
        - source /opt/venv/bin/activate
      script:
        - pip install --upgrade pip
        - zypper --no-gpg-checks addrepo https://download.opensuse.org/repositories/Application:Geo/15.4/Application:Geo.repo
        - zypper --no-gpg-checks refresh
       # - zypper --no-gpg-checks --non-interactive install proj=9.1.0
        - zypper --no-gpg-checks --non-interactive install proj
        - zypper --no-gpg-checks --non-interactive install geos=3.11.1
        - zypper --no-gpg-checks --non-interactive install geos-devel=3.9.1
       # - zypper --no-gpg-checks --non-interactive install libproj22=8.2.1
        - zypper --no-gpg-checks --non-interactive install binutils libproj-devel gdal-devel
        - pip install -r requirements.txt
        - chmod +x ./CI/run_pytest.sh
        - ./CI/run_pytest.sh
      after_script:
        - ./CI/update_badge.sh > /dev/null
      artifacts:
        name: pages
        when: always
        expire_in: 1 week
        paths:
          - badges/
          - test_results/
    
    
    ### Tests ###