/ simulated_instruments / maraca
Sign in
simulated_instruments / maraca
Keep the model validation out of the deploy workflow
Jeremy Magland <jmagland@flatironinstitute.org> committed commit 741098c38687 parent be4a90d Browse files
1 changed file+7−8
.github/workflows/deploy.ymlmodified+7−8View file
@@ -2,12 +2,18 @@ name: Deploy to Pages
22
33 # Builds webapp/ and publishes it as this repository's site.
44 #
5-# Two notes on the vault:
5+# Three notes on the vault:
66 # - there is no cache service, so setup-node runs without `cache: npm`;
77 # - a mochi site is served at /<collection>/<repo>/site/ or at the root of an
88 # origin of its own. The Vite build uses a relative base (`base: './'`), so
99 # it works at either without being told the deploy path, and configure-pages
1010 # is therefore only here for parity with the deploy step.
11+# - the runner is one small machine shared by every repository in the vault,
12+# so this workflow does no more than install, build, and publish. The model
13+# validation is deliberately not here: `npm run selftest` executes the
14+# MATLAB validation script through numbl, which takes minutes on a
15+# development machine and far longer on the runner. Run it locally before
16+# pushing.
1117
1218 on:
1319 push:
@@ -37,13 +43,6 @@ jobs:
3743 working-directory: webapp
3844 run: npm ci
3945
40- # Runs matlab/maraca_validate.m through numbl: closed-form identities,
41- # reproducibility of the seeded impact process, and the pinned
42- # end-to-end diagnostics. Fails the build on any mismatch.
43- - name: Validate the model
44- working-directory: webapp
45- run: npm run selftest
46-
4746 - name: Build
4847 working-directory: webapp
4948 run: npm run build
↑↓ move↵openescclose