-
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.
Merge branch 'main' into validate-allocation-input
- Loading branch information
Showing
88 changed files
with
10,566 additions
and
7,497 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,3 +9,4 @@ services: | |
environment: | ||
- CI=true | ||
- DISPLAY=:99 | ||
tty: true |
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
name: Julia Tests | ||
on: | ||
push: | ||
branches: [main] | ||
branches: [main, update/pixi-lock, update/julia-manifest] | ||
paths-ignore: [".teamcity/**"] | ||
tags: ["*"] | ||
pull_request: | ||
|
@@ -33,7 +33,7 @@ jobs: | |
with: | ||
cache-compiled: "true" | ||
cache-registries: "true" | ||
- uses: prefix-dev/[email protected].1 | ||
- uses: prefix-dev/[email protected].3 | ||
with: | ||
pixi-version: "latest" | ||
- name: Prepare pixi | ||
|
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
name: Docs | ||
on: | ||
push: | ||
branches: [main] | ||
branches: [main, update/pixi-lock, update/julia-manifest] | ||
paths-ignore: [".teamcity/**"] | ||
pull_request: | ||
merge_group: | ||
|
@@ -24,7 +24,7 @@ jobs: | |
with: | ||
cache-compiled: "true" | ||
cache-registries: "true" | ||
- uses: prefix-dev/[email protected].1 | ||
- uses: prefix-dev/[email protected].3 | ||
with: | ||
pixi-version: "latest" | ||
- name: Prepare pixi | ||
|
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,31 @@ | ||
name: Julia auto update | ||
|
||
on: | ||
schedule: | ||
# At 03:00 on day 1 of the month | ||
- cron: "0 3 1 * *" | ||
# on demand | ||
workflow_dispatch: | ||
|
||
jobs: | ||
auto-update: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
ssh-key: ${{ secrets.SSH_PRIVATE_KEY }} | ||
- uses: prefix-dev/[email protected] | ||
with: | ||
pixi-version: "latest" | ||
- name: Update Julia manifest file | ||
run: | | ||
pixi run update-manifest-julia | ||
pixi install | ||
- uses: peter-evans/create-pull-request@v5 | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
branch: update/julia-manifest | ||
title: Update Julia manifest | ||
commit-message: "Update Julia manifest" | ||
body: Update Julia dependencies to the latest version. | ||
author: "GitHub <[email protected]>" |
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,32 @@ | ||
name: Pixi auto update | ||
|
||
on: | ||
schedule: | ||
# At 03:00 on day 1 of the month | ||
- cron: "0 3 1 * *" | ||
# on demand | ||
workflow_dispatch: | ||
|
||
jobs: | ||
auto-update: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
ssh-key: ${{ secrets.SSH_PRIVATE_KEY }} | ||
- uses: prefix-dev/[email protected] | ||
with: | ||
pixi-version: "latest" | ||
cache: false | ||
- name: Update pixi lock file | ||
run: | | ||
rm pixi.lock | ||
pixi install | ||
- uses: peter-evans/create-pull-request@v5 | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
branch: update/pixi-lock | ||
title: Update pixi lock file | ||
commit-message: "Update `pixi.lock`" | ||
body: Update pixi dependencies to the latest version. | ||
author: "GitHub <[email protected]>" |
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
name: Python Lint | ||
on: | ||
push: | ||
branches: [main] | ||
branches: [main, update/pixi-lock] | ||
paths-ignore: [".teamcity/**"] | ||
tags: ["*"] | ||
pull_request: | ||
|
@@ -16,7 +16,7 @@ jobs: | |
continue-on-error: true | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: prefix-dev/[email protected].1 | ||
- uses: prefix-dev/[email protected].3 | ||
with: | ||
pixi-version: "latest" | ||
- name: Prepare pixi | ||
|
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
72 changes: 72 additions & 0 deletions
72
.teamcity/Ribasim/buildTypes/Ribasim_GenerateTestmodels.xml
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,72 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<build-type xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" uuid="e2ca72cd-0597-45e8-823b-3db665a1f46a" xsi:noNamespaceSchemaLocation="https://www.jetbrains.com/teamcity/schemas/2021.1/project-config.xsd"> | ||
<name>Generate Testmodels</name> | ||
<description /> | ||
<settings> | ||
<options> | ||
<option name="artifactRules" value="ribasim\generated_testmodels => generated_testmodels.zip" /> | ||
<option name="cleanBuild" value="true" /> | ||
<option name="executionTimeoutMin" value="120" /> | ||
<option name="publishArtifactCondition" value="SUCCESSFUL" /> | ||
</options> | ||
<parameters /> | ||
<build-runners> | ||
<runner id="RUNNER_2415" name="Set up pixi" type="simpleRunner"> | ||
<parameters> | ||
<param name="script.content"><![CDATA[#!/bin/bash | ||
# black magic | ||
source /usr/share/Modules/init/bash | ||
module load pixi | ||
pixi --version | ||
pixi run install-without-pre-commit]]></param> | ||
<param name="teamcity.build.workingDir" value="ribasim" /> | ||
<param name="teamcity.step.mode" value="default" /> | ||
<param name="use.custom.script" value="true" /> | ||
</parameters> | ||
</runner> | ||
<runner id="RUNNER_2416" name="Generate testmodels" type="simpleRunner"> | ||
<parameters> | ||
<param name="script.content"><![CDATA[#!/bin/bash | ||
# black magic | ||
source /usr/share/Modules/init/bash | ||
module load pixi | ||
pixi run generate-testmodels]]></param> | ||
<param name="teamcity.build.workingDir" value="ribasim" /> | ||
<param name="teamcity.step.mode" value="default" /> | ||
<param name="use.custom.script" value="true" /> | ||
</parameters> | ||
</runner> | ||
</build-runners> | ||
<vcs-settings> | ||
<vcs-entry-ref root-id="Ribasim_Ribasim"> | ||
<checkout-rule rule=". => ribasim" /> | ||
</vcs-entry-ref> | ||
</vcs-settings> | ||
<requirements> | ||
<does-not-equal id="RQ_275" name="env.OS" value="Windows_NT" /> | ||
</requirements> | ||
<build-triggers> | ||
<build-trigger id="TRIGGER_646" type="vcsTrigger"> | ||
<parameters> | ||
<param name="branchFilter" value="+:*" /> | ||
<param name="enableQueueOptimization" value="true" /> | ||
<param name="quietPeriodMode" value="DO_NOT_USE" /> | ||
</parameters> | ||
</build-trigger> | ||
</build-triggers> | ||
<build-extensions> | ||
<extension id="BUILD_EXT_295" type="commit-status-publisher"> | ||
<parameters> | ||
<param name="github_authentication_type" value="token" /> | ||
<param name="github_host" value="https://api.github.com" /> | ||
<param name="publisherId" value="githubStatusPublisher" /> | ||
<param name="secure:github_access_token" value="credentialsJSON:71420214-373c-4ccd-ba32-2ea886843f62" /> | ||
</parameters> | ||
</extension> | ||
</build-extensions> | ||
<cleanup /> | ||
</settings> | ||
</build-type> | ||
|
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
Oops, something went wrong.