We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a36fb8 commit 30cfd62Copy full SHA for 30cfd62
tests/recommended/README.md
@@ -0,0 +1,6 @@
1
+# recommended test
2
+
3
+These tests run:
4
+- [ ] before the build
5
+- [x] after the build
6
+- [ ] on deploy success
tests/recommended/netlify.toml
@@ -13,3 +13,15 @@ TERM = "xterm"
13
# local Cypress plugin will test our site after it is built
14
# in production, please use: package = "netlify-plugin-cypress"
15
package = "../../"
16
17
+ # this is a testing situation
18
+ # in the real system we recommend running tests post deploy
19
+ # by default and enable preBuild and postBuild if needed
20
21
+ # do not run tests after deploy (testing)
22
+ [plugins.inputs]
23
+ enable = false
24
25
+ # run tests postBuild
26
+ [plugins.inputs.postBuild]
27
+ enable = true
0 commit comments