Skip to content

Commit

Permalink
Merge pull request #111 from LabSid-USP/feat/109-add-validation-rules…
Browse files Browse the repository at this point in the history
…-for-input-rasters

Add validation rules for input rasters
  • Loading branch information
soaressgabriel authored Feb 22, 2024
2 parents 8dec9a3 + 5639e2a commit f7e3c54
Show file tree
Hide file tree
Showing 36 changed files with 1,332 additions and 745 deletions.
17 changes: 17 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
day: monday
time: "08:00"
timezone: America/Sao_Paulo
reviewers:
- "soaressgabriel"
labels:
- "dependencies"
- "github_actions"
commit-message:
prefix: "[actions] "
open-pull-requests-limit: 100
33 changes: 33 additions & 0 deletions .github/workflows/build-test-micromamba.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Unit tests

on:
push:
branches: ["main"]
pull_request:
branches: ["main"]

jobs:
build:
runs-on: ubuntu-latest
strategy:
max-parallel: 5

steps:
- uses: actions/checkout@v4
- uses: mamba-org/setup-micromamba@v1
with:
environment-file: env-dev.yml
init-shell: bash
cache-environment: true
post-cleanup: "all"
- name: Test with pytest
run: pytest -x -l -ra --junitxml="TestResults-Rubem.xml"
shell: bash -el {0}

- name: Upload pytest test results
uses: actions/upload-artifact@v4
with:
name: pytest-results-rubem
path: "TestResults-Rubem.xml"
retention-days: 1
if: ${{ always() }}
236 changes: 0 additions & 236 deletions RUBEM.pyproj

This file was deleted.

23 changes: 0 additions & 23 deletions RUBEM.sln

This file was deleted.

26 changes: 4 additions & 22 deletions doc/source/conf.py
Original file line number Diff line number Diff line change
@@ -1,25 +1,3 @@
# coding=utf-8
# RUBEM is a distributed hydrological model to calculate monthly
# flows with changes in land use over time.
# Copyright (C) 2020-2024 LabSid PHA EPUSP

# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.

# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.

# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
#
# Contact: rubem.hydrological@labsid.eng.br

"""RUBEM help setup"""

# Configuration file for the Sphinx documentation builder.
#
# This file only contains a selection of the most common options. For a full
Expand Down Expand Up @@ -316,3 +294,7 @@
1,
)
]

# -- Options for Auto Section Label Extension ----------------------------------

autosectionlabel_prefix_document = True
Loading

0 comments on commit f7e3c54

Please sign in to comment.