Commit 487f57c
committed
ci: run the Playwright tests on every deployment
Whenever deploying the site, it is a good idea to run the tests
afterwards.
An alternative would be to run the tests before deploying, but there are
challenges that would make this cumbersome:
- For deployments, we run Hugo with a specific base URL, which could let
the UI tests redirect to the site that we want to deploy to, and
therefore fail to verify the locally-built site.
- Even if an outside change (such as a change from the ProGit book
repository) would break those tests, we would still want to deploy the
site. This is better than falling behind just because no volunteer
finds time to fix the issues.
Signed-off-by: Johannes Schindelin <[email protected]>1 parent 98c46ee commit 487f57c
1 file changed
+14
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
0 commit comments