Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🔄 synced file(s) with ODINN-SciML/Sleipnir.jl #143

Merged
merged 2 commits into from
Mar 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading