Skip to content

Commit

Permalink
🔄 synced file(s) with ODINN-SciML/Sleipnir.jl (#143)
Browse files Browse the repository at this point in the history
* 🔄 synced local 'environment.yml' with remote 'environment.yml'

* 🔄 synced local '.github/workflows/CI.yml' with remote '.github/workflows/CI.yml'
  • Loading branch information
facusapienza21 authored Mar 24, 2024
1 parent f1efa1c commit 8e500ee
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 58 deletions.
36 changes: 10 additions & 26 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ on:
branches:
- main
push:
branches:
- main
branches: []
tags: '*'
concurrency:
# Skip intermediate builds: always.
Expand Down Expand Up @@ -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
Expand All @@ -63,39 +62,24 @@ 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"
cache-compiled: "true"
- 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)'
64 changes: 32 additions & 32 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8e500ee

Please sign in to comment.