Skip to content

Commit

Permalink
Merge pull request #9 from climateintelligence/dev
Browse files Browse the repository at this point in the history
Include scientific code for precipitation detection
  • Loading branch information
nilshempelmann authored Dec 17, 2024
2 parents afc85fd + cae126e commit 5e19028
Show file tree
Hide file tree
Showing 13 changed files with 2,078 additions and 151 deletions.
32 changes: 22 additions & 10 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,36 @@

name: build ⚙️

on: [ push, pull_request ]

jobs:
build:

name: Conda Build with Python${{ matrix.python-version }}
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12"]
python-version: ["3.10", "3.11"]
defaults:
run:
shell: bash -l {0}
steps:
- name: Checkout repository and submodules
uses: actions/checkout@v2
with:
submodules: recursive
- uses: actions/checkout@v3
- name: Install packages
run: |
sudo apt-get -y install pandoc
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
sudo apt-get -y install pandoc graphviz
- name: Setup Conda (Micromamba) with Python${{ matrix.python-version }}
uses: mamba-org/setup-micromamba@v1
with:
python-version: ${{ matrix.python-version }}
cache-downloads: true
cache-environment: true
environment-file: environment.yml
create-args: >-
conda
python=${{ matrix.python-version }}
- name: Conda and Mamba versions
run: |
conda --version
echo "micromamba: $(micromamba --version)"
- name: Install requirements 📦
run: |
python -m pip install --upgrade pip
Expand All @@ -33,6 +42,9 @@ jobs:
- name: Lint with flake8 ⚙️
run: make lint
if: matrix.python-version == 3.10
# - name: Check formatting with black ⚙️
# run: black --check --target-version py310 rook tests
# if: matrix.python-version == 3.10
- name: Build docs 🏗️
run: make docs
if: matrix.python-version == 3.10
Expand Down
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@ include *.txt
include *.rst
include tox.ini
recursive-include albatross *
recursive-include tests *
global-exclude __pycache__
global-exclude *.py[co]
Loading

0 comments on commit 5e19028

Please sign in to comment.