-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
134 changed files
with
25,120 additions
and
11,670 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,7 @@ concurrency: | |
cancel-in-progress: true | ||
jobs: | ||
test: | ||
name: Python ${{ matrix.python-version }} - ${{ matrix.os }} | ||
name: ${{ matrix.pixi-environment }} - ${{ matrix.os }} | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: false | ||
|
@@ -20,26 +20,19 @@ jobs: | |
- ubuntu-latest | ||
- macOS-latest | ||
- windows-latest | ||
python-version: | ||
- "3.10" | ||
- "3.11" | ||
- "3.12" | ||
pixi-environment: | ||
- py312 | ||
- py311 | ||
- py310 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v5 | ||
- uses: prefix-dev/[email protected] | ||
with: | ||
python-version: "${{ matrix.python-version }}" | ||
|
||
- name: Install test dependencies | ||
run: | | ||
pip install --editable "python/ribasim_testmodels" | ||
pip install --editable "python/ribasim[tests]" | ||
- name: Run tests | ||
run: pytest --numprocesses=auto --cov=ribasim --cov-report=xml python/ribasim/tests | ||
|
||
pixi-version: "latest" | ||
- name: Prepare pixi | ||
run: pixi run --environment ${{ matrix.pixi-environment }} install-python | ||
- name: Test Ribasim Python | ||
run: pixi run --environment ${{ matrix.pixi-environment }} test-ribasim-python-cov | ||
- name: Upload coverage to Codecov | ||
uses: codecov/codecov-action@v4 | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<template xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" uuid="1a62a1c8-edfc-4fcf-bd8d-0839b10664a3" xsi:noNamespaceSchemaLocation="https://www.jetbrains.com/teamcity/schemas/2021.1/project-config.xsd"> | ||
<name>Linux</name> | ||
<description>Template for agent that uses Linux OS</description> | ||
<settings> | ||
<options> | ||
<option name="cleanBuild" value="true" /> | ||
<option name="publishArtifactCondition" value="SUCCESSFUL" /> | ||
</options> | ||
<parameters /> | ||
<build-runners /> | ||
<vcs-settings /> | ||
<requirements> | ||
<equals id="RQ_418" name="teamcity.agent.jvm.os.name" value="Linux" /> | ||
</requirements> | ||
<build-triggers /> | ||
<cleanup /> | ||
</settings> | ||
</template> | ||
|
48 changes: 0 additions & 48 deletions
48
.teamcity/Ribasim/buildTypes/Ribasim_Ribasim_BuildPythonWheels.xml
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.