From 72f05f3b2d0bf371394abd9bbaeb17739e1b3f7e Mon Sep 17 00:00:00 2001 From: facusapienza21 Date: Sat, 23 Mar 2024 20:48:19 +0000 Subject: [PATCH 1/2] =?UTF-8?q?=F0=9F=94=84=20synced=20local=20'environmen?= =?UTF-8?q?t.yml'=20with=20remote=20'environment.yml'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- environment.yml | 64 ++++++++++++++++++++++++------------------------- 1 file changed, 32 insertions(+), 32 deletions(-) diff --git a/environment.yml b/environment.yml index faa1ff2..549bd59 100644 --- a/environment.yml +++ b/environment.yml @@ -5,43 +5,43 @@ channels: dependencies: # Base language runtimes - - python=3.9 + - python=3.12 # Python packages - - bottleneck - - cartopy - - configobj - - dask - - gdal=3.3 - - geopandas - - ipython - - jupyter - - jupyterlab - - matplotlib - - motionless - - netcdf4 - - numpy - - numpydoc - - pandas - - Pillow - - pip - - pyproj - - pytables - - pytest - - rasterio - - rioxarray - - salem - - seaborn - - shapely - - scikit-image - - scikit-learn - - scipy - - xarray + - bottleneck=1.3 + - cartopy=0.22 + - configobj=5.0 + - dask=2024.3 + - gdal=3.8 + - geopandas=0.14 + - ipython=8.22 + - jupyter=1.0 + - jupyterlab=4.1 + - matplotlib=3.8 + - motionless=1.3 + - netcdf4=1.6 + - numpy=1.26 + - numpydoc=1.6 + - pandas=2.2 + - Pillow=10.2 + - pip=24.0 + - pyproj=3.6 + - pytables=3.9 + - pytest=8.1 + - rasterio=1.3 + - rioxarray=0.15 + - salem=0.3 + - seaborn=0.13 + - shapely=2.0 + - scikit-image=0.22 + - scikit-learn=1.4 + - scipy=1.12 + - xarray=2024.2 # Packages installed through pip - pip: - - joblib - - progressbar2 + - joblib==1.3 + - progressbar2==4.4 - git+https://github.com/OGGM/pytest-mpl - git+https://github.com/OGGM/massbalance-sandbox - oggm==1.6.0 From 5a603a89d6fa538fe079c92f4dc86263d16a9af8 Mon Sep 17 00:00:00 2001 From: facusapienza21 Date: Sat, 23 Mar 2024 20:48:19 +0000 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=94=84=20synced=20local=20'.github/wo?= =?UTF-8?q?rkflows/CI.yml'=20with=20remote=20'.github/workflows/CI.yml'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/CI.yml | 36 ++++++++++-------------------------- 1 file changed, 10 insertions(+), 26 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index a4d336c..e5b37cb 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -4,8 +4,7 @@ on: branches: - main push: - branches: - - main + branches: [] tags: '*' concurrency: # Skip intermediate builds: always. @@ -38,7 +37,7 @@ jobs: - name: Create environment with micromamba 🐍🖤 uses: mamba-org/setup-micromamba@v1 with: - micromamba-version: '1.3.1-0' + micromamba-version: '1.5.6-0' environment-file: ./environment.yml environment-name: oggm_env # it is recommendable to add both name and yml file. init-shell: bash @@ -63,6 +62,9 @@ jobs: with: version: ${{ matrix.version }} arch: ${{ matrix.arch }} + - name: Check Julia SSL certifications 🔎🔐 + run: julia -e 'using NetworkOptions; println(NetworkOptions.bundled_ca_roots()); println(NetworkOptions.ca_roots())' + shell: bash -el {0} - uses: julia-actions/cache@v1 with: cache-registries: "true" @@ -70,32 +72,14 @@ jobs: - uses: julia-actions/julia-buildpkg@v1 env: PYTHON : /home/runner/micromamba/envs/oggm_env/bin/python + # The SSL certificate path can be readed from the action "Check Julia SSL certifications" + SSL_CERT_FILE: /etc/ssl/certs/ca-certificates.crt - uses: julia-actions/julia-runtest@v1 + env: + PYTHON : /home/runner/micromamba/envs/oggm_env/bin/python + SSL_CERT_FILE: /etc/ssl/certs/ca-certificates.crt - uses: julia-actions/julia-processcoverage@v1 - uses: codecov/codecov-action@v3 with: token: ${{secrets.CODECOV_TOKEN}} files: lcov.info - # docs: - # name: Documentation - # runs-on: ubuntu-latest - # permissions: - # contents: write - # statuses: write - # steps: - # - uses: actions/checkout@v2 - # - uses: julia-actions/setup-julia@v1 - # with: - # version: '1.9' - # - uses: julia-actions/julia-buildpkg@v1 - # env: - # PYTHON : /home/runner/micromamba/envs/oggm_env/bin/python - # - uses: julia-actions/julia-docdeploy@v1 - # env: - # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - # - run: | - # julia --project=docs -e ' - # using Documenter: DocMeta, doctest - # using ODINN - # DocMeta.setdocmeta!(ODINN, :DocTestSetup, :(using ODINN); recursive=true) - # doctest(ODINN)'