-
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.
TeamCity change in 'Ribasim / Ribasim' project: artifact dependencies…
… of 'Test libribasim - Windows' build configuration were updated
- Loading branch information
visser_mn
authored and
root
committed
Sep 7, 2023
1 parent
245edcd
commit b3eb044
Showing
2 changed files
with
89 additions
and
12 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
82 changes: 82 additions & 0 deletions
82
.teamcity/Ribasim_Ribasim/buildTypes/Ribasim_Ribasim_TestRibasimCliWindows.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,82 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<build-type xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" uuid="d5e2515e-f7f0-4248-9df0-928bb0db1362" paused="true" xsi:noNamespaceSchemaLocation="https://www.jetbrains.com/teamcity/schemas/2021.1/project-config.xsd"> | ||
<name>Test ribasim_cli - Windows</name> | ||
<description /> | ||
<settings> | ||
<options> | ||
<option name="artifactRules" value="build\ribasim_cli\tests\temp => test_output.zip" /> | ||
</options> | ||
<parameters> | ||
<param name="conda_env_path" value="%system.teamcity.build.checkoutDir%/ribasim_cli_test_env" /> | ||
</parameters> | ||
<build-runners> | ||
<runner id="RUNNER_1501" name="Set up virtual environment" type="simpleRunner"> | ||
<parameters> | ||
<param name="script.content"><![CDATA[if exist "%conda_env_path%" rd /q /s "%conda_env_path%" | ||
call conda env create --file environment.yml -p "%conda_env_path%"]]></param> | ||
<param name="teamcity.step.mode" value="default" /> | ||
<param name="use.custom.script" value="true" /> | ||
</parameters> | ||
</runner> | ||
<runner id="RUNNER_1502" name="Install Python packages" type="simpleRunner"> | ||
<parameters> | ||
<param name="script.content"><![CDATA[call conda activate "%conda_env_path%" | ||
pip install --no-deps "python/ribasim" | ||
pip install --no-deps "python/ribasim_testmodels"]]></param> | ||
<param name="teamcity.step.mode" value="default" /> | ||
<param name="use.custom.script" value="true" /> | ||
</parameters> | ||
</runner> | ||
<runner id="RUNNER_1503" name="Run tests" type="simpleRunner"> | ||
<parameters> | ||
<param name="script.content"><![CDATA[call conda activate "%conda_env_path%" | ||
pytest tests --basetemp=tests/temp --junitxml="report.xml"]]></param> | ||
<param name="teamcity.build.workingDir" value="build/ribasim_cli" /> | ||
<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_Ribasim" /> | ||
</vcs-settings> | ||
<requirements> | ||
<equals id="RQ_310" name="env.OS" value="Windows_NT" /> | ||
</requirements> | ||
<build-triggers> | ||
<build-trigger id="TRIGGER_64" type="buildDependencyTrigger"> | ||
<parameters> | ||
<param name="afterSuccessfulBuildOnly" value="true" /> | ||
<param name="branchFilter" value="+:<default>" /> | ||
<param name="dependsOn" value="BuildRibasimCliWindows" /> | ||
</parameters> | ||
</build-trigger> | ||
</build-triggers> | ||
<build-extensions> | ||
<extension id="BUILD_EXT_142" 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" /> | ||
<param name="vcsRootId" value="Ribasim_Ribasim_Ribasim" /> | ||
</parameters> | ||
</extension> | ||
<extension id="BUILD_EXT_145" type="xml-report-plugin"> | ||
<parameters> | ||
<param name="xmlReportParsing.reportDirs" value="build/ribasim_cli/report.xml" /> | ||
<param name="xmlReportParsing.reportType" value="junit" /> | ||
<param name="xmlReportParsing.verboseOutput" value="true" /> | ||
</parameters> | ||
</extension> | ||
</build-extensions> | ||
<artifact-dependencies> | ||
<dependency id="ARTIFACT_DEPENDENCY_570" sourceBuildTypeId="BuildRibasimCliWindows" cleanDestination="true"> | ||
<revisionRule name="lastSuccessful" revision="latest.lastSuccessful" /> | ||
<artifact sourcePath="ribasim_cli.zip!** => build/create_binaries/ribasim_cli
" /> | ||
</dependency> | ||
</artifact-dependencies> | ||
<cleanup /> | ||
</settings> | ||
</build-type> | ||
|