Add unit tests for Crop Production, Pollination, Forest Carbon, and HQ models #4726
build-and-test.yml
on: pull_request
Check for syntax errors
7s
Check RST syntax
19s
Validate Sampledata & User Guide
3m 30s
Build sampledata archives
2m 48s
Matrix: Build binaries
Matrix: Run model tests
Matrix: Run Workbench Tests
Matrix: Check sdist
Annotations
17 errors
Run model tests (3.11, ubuntu-latest)
Process completed with exit code 2.
|
Run model tests (3.11, ubuntu-latest)
no artifacts found
|
Run model tests (3.10, ubuntu-latest)
Process completed with exit code 2.
|
Run model tests (3.10, ubuntu-latest)
no artifacts found
|
Run model tests (3.13, ubuntu-latest)
no artifacts found
|
Run model tests (3.13, ubuntu-latest)
Process completed with exit code 2.
|
Run model tests (3.12, ubuntu-latest)
Process completed with exit code 2.
|
Run model tests (3.12, ubuntu-latest)
no artifacts found
|
Run model tests (3.9, ubuntu-latest)
Process completed with exit code 2.
|
Run model tests (3.9, ubuntu-latest)
no artifacts found
|
Various ways to open and close InVEST models › Clicking an invest model button renders SetupTab:
workbench/tests/renderer/app.test.js#L85
Unable to find role="button" and name "Carbon"
Ignored nodes: comments, script, style
<body>
<div>
<div />
<nav
class="navbar navbar-expand navbar-light"
>
<div
class="w-100 flex-nowrap row"
>
<div
class="col-sm-3"
>
<span
class="navbar-brand"
>
<a
class="nav-link"
href="#"
role="button"
>
<svg
fill="currentColor"
height="1em"
stroke="currentColor"
stroke-width="0"
viewBox="0 0 24 24"
width="1em"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M0 0h24v24H0z"
fill="none"
/>
<path
d="M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z"
/>
</svg>
InVEST
</a>
</span>
<svg
class="rtm"
fill="currentColor"
height="1em"
stroke="currentColor"
stroke-width="0"
viewBox="0 0 1024 1024"
width="1em"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372zm87.5-334.7c34.8-12.8 78.4-49 78.4-119.2 0-71.2-45.5-131.1-144.2-131.1H378c-4.4 0-8 3.6-8 8v410c0 4.4 3.6 8 8 8h54.5c4.4 0 8-3.6 8-8V561.2h88.7l74.6 159.2c1.3 2.8 4.1 4.6 7.2 4.6h62a7.9 7.9 0 0 0 7.1-11.5l-80.6-164.2zM522 505h-81.5V357h83.4c48 0 80.9 25.3 80.9 75.5 0 46.9-29.8 72.5-82.8 72.5z"
/>
</svg>
</div>
<div
class="navbar-middle col"
>
<div
class="mr-auto navbar-nav nav-tabs nav-justified"
role="tablist"
/>
</div>
<div
class="text-right navbar-right col"
>
<div />
<button
aria-label="settings"
class="settings-icon-btn btn btn-primary"
type="button"
>
<svg
class="settings-icon"
fill="currentColor"
height="1em"
stroke="currentColor"
stroke-width="0"
viewBox="0 0 24 24"
width="1em"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M0 0h24v24H0V0z"
fill="none"
/>
<path
d="M19.14 12.94c.04-.3.06-.61.06-.94 0-.32-.02-.64-.07-.94l2.03-1.58a.49.49 0 00.12-.61l-1.92-3.32a.488.488 0 00-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54a.484.484 0 00-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.05.3-.09.63-.09.94s.02.64.07.94l-2.03 1.58a.49.49 0 00-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61l-2.01-1.58zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6z"
/>
</svg>
</button>
</div>
</div>
</nav>
<div
class="tab-content"
id="home-tab-content"
>
<div
aria-hidden="false"
aria-label="home tab"
class="fade tab-pane active show"
role="tabpanel"
>
<div />
</div>
</div>
</div>
</body>
at waitForWrapper (node_modules/@testing-library/dom/dist/wait-for.js:163:27)
at node_modules/@testing-library/dom/dist/query-helpers.js:86:33
at findByRole (tests/renderer/app.test.js:85:26)
at tryCatch (node_modules/@babel/runtime/helpers/regeneratorRuntime.js:45:16)
at Generator.<anonymous> (node_mo
|
Run Workbench Tests (windows-latest)
Process completed with exit code 1.
|
Run model tests (3.9, windows-latest)
Process completed with exit code 2.
|
Run model tests (3.12, windows-latest)
Process completed with exit code 2.
|
Run model tests (3.13, windows-latest)
Process completed with exit code 2.
|
Run model tests (3.11, windows-latest)
Process completed with exit code 2.
|
Run model tests (3.10, windows-latest)
Process completed with exit code 2.
|
Artifacts
Produced during runtime
Name | Size | Digest | |
---|---|---|---|
Conda Env for macos-13 3.10
|
3.12 KB |
sha256:c417c965db9f5477fa2579048a4a4364d6392df5945be448f9b4ae1b8744a028
|
|
Conda Env for macos-13 3.11
|
3.1 KB |
sha256:ad0b4d9f8ab7c43a0cfc05821f0e56eac1c69ad18c5d845d33d2ef1a88cc8898
|
|
Conda Env for macos-13 3.12
|
3.1 KB |
sha256:2ff7f4a472c37b042ac310d314f71a49ff6d127c8173bb49c833594d78b93b41
|
|
Conda Env for macos-13 3.13
|
3.11 KB |
sha256:157f346ab1c14cb99eac910a27c43a23b624c0662e2518e2a92f9bf1f8973e4b
|
|
Conda Env for macos-13 3.9
|
3.11 KB |
sha256:642b1ce762d2ec2dfd193079ddbf417d7f361deb5dfeb610be4039eac8e6b66c
|
|
InVEST-sample-data
|
355 MB |
sha256:b2ee1fa4502cb3bf8b7f451591a8073933724d7043250d3f913c6710ef6475bd
|
|
InVEST-user-guide
|
31.1 MB |
sha256:dcbd8648276e592fae0a708cf6d6e102c1ed4991c597e419393dcf532fd96aa0
|
|
Source distribution macos-13 3.10
|
1.87 MB |
sha256:b3a2feba8ae73e86372cdad8c0260a8560a8fc96ec1b56d2a453702b755b25da
|
|
Source distribution macos-13 3.11
|
1.87 MB |
sha256:23b356bf5e450d376bf90198cd6395342de4688680e87bf1badd90b760e182c6
|
|
Source distribution macos-13 3.12
|
1.87 MB |
sha256:bd8499f5257e3191222822e6c946f5b53c0c38f793b0f78e9088daf72b03f3bc
|
|
Source distribution macos-13 3.13
|
1.87 MB |
sha256:72ad9af16e90c038a6ae4e631d42668ff3203ae0e09b5a57776f9ba4c7f45cb6
|
|
Source distribution macos-13 3.9
|
1.87 MB |
sha256:2b821b71a86836b639135600b7cbdc64b2a8fbf0608ee6316cc366214d6f6293
|
|
Source distribution ubuntu-latest 3.10
|
1.87 MB |
sha256:528ccccb3324a2d7ee389686fbbc0d07ea1069497d35fb76f9f78689ca98a1b6
|
|
Source distribution ubuntu-latest 3.11
|
1.87 MB |
sha256:0a5de21c1b3ceb44a21077e83c934a6b121b3b1dc3f25e5cf4f606a0a2c62526
|
|
Source distribution ubuntu-latest 3.12
|
1.87 MB |
sha256:3d70c2a8e8e7508c0320a272f85b63b2df12bbe96c01ae69d368c5c3ac01a729
|
|
Source distribution ubuntu-latest 3.13
|
1.87 MB |
sha256:5f10f4002d25fa5e52faa509956ae36562d7b76f5a1ec80f7562888f8f979f69
|
|
Source distribution ubuntu-latest 3.9
|
1.87 MB |
sha256:9a3fd622ed016eece805c64e000619cdf6507f244c94af900c9def77c65bfeda
|
|
Source distribution windows-latest 3.10
|
1.87 MB |
sha256:895a2e98d0e0ac41fab6e5500652382bfcf195252e8e1292c8f8135fb64a307a
|
|
Source distribution windows-latest 3.11
|
1.87 MB |
sha256:4841767b8d25a9baf8221d0874aef8b5cf828a2c14a3b99377d24bc6da793e7d
|
|
Source distribution windows-latest 3.12
|
1.87 MB |
sha256:d209a3515b812c2b2f7274bc75172984f51aae97c2ab3de2547681fc9a3b8af3
|
|
Source distribution windows-latest 3.13
|
1.87 MB |
sha256:30a43b3909f668799119c56a4e014a503827b5f9474209cd519ef63b64c1d6ce
|
|
Source distribution windows-latest 3.9
|
1.87 MB |
sha256:62f458038ada846f4289e714304562e03d90ea3c992b27abf6f037dd232b2c99
|
|
Wheel for macos-13 3.10
|
1.58 MB |
sha256:94b65f73b40f03451c1a85f5247aedcbd566c4013f0b5ab578315a2b947908b0
|
|
Wheel for macos-13 3.11
|
1.58 MB |
sha256:f64ca9a155dfe41626114d9857c87c7b4d29b8d81adc1c9281abbb5b9ea4f88e
|
|
Wheel for macos-13 3.12
|
1.58 MB |
sha256:78961443831b35ea70b20718cdc543ca54edffe785161eb59b28bcfa69f0b230
|
|
Wheel for macos-13 3.13
|
1.57 MB |
sha256:2f981c064b5f4093118d3e9acd69155ac00fe5e23a37329bef31a2b84d053510
|
|
Wheel for macos-13 3.9
|
1.58 MB |
sha256:58cf368998eb9cb65d08512b297ab452068a70f2743fdbec58e2292b6668fd7f
|
|
Windows_puppeteer_log.zip'
|
7.02 KB |
sha256:a389219d1508ff94eb3beb15ae310d484f77b857ed1be7bd5d0c6b1fe5296dae
|
|
Workbench-Windows-binary
|
193 MB |
sha256:0398fbcd9a2ca87f87fb6a7b73936a50232a0de9866e126b9b40c7d90b4e4c06
|
|
Workbench-macOS-binary
|
254 MB |
sha256:3f8e03602a5d7e00f4ca94f4350622252549f388d1cb570aaebf66c951db515d
|
|
macOS_puppeteer_log.zip'
|
6.24 KB |
sha256:aa7c9ed25e0b503256f038dac8b625c4a108ffc8c614ec5145fe7662f661e7a7
|
|