forked from github/opensource.guide
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs/translations: note testing step.
This has been missed by a few people so make sure they get it here rather than being surprised by broken CI. Also, ensure that both HTML Proofer and Prose checks are run every time even if HTML Proofer fails to produce better CI output.
- Loading branch information
1 parent
4ef2c6b
commit 9639e7b
Showing
2 changed files
with
8 additions
and
1 deletion.
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
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 |
---|---|---|
@@ -1,8 +1,14 @@ | ||
#!/bin/sh | ||
#!/bin/bash | ||
|
||
set -e | ||
|
||
script/build --config _config.yml,test/_config.yml | ||
bundle exec rake | ||
|
||
set +e | ||
|
||
script/html-proofer | ||
HTML_PROOFER_EXIT="$?" | ||
test/prose | ||
PROSE_EXIT="$?" | ||
[[ "$HTML_PROOFER_EXIT" == 0 && "$PROSE_EXIT" == 0 ]] |