Skip to content

Commit 446f6a3

Browse files
Add more commands to check build status in CI (#72)
* Add more commands to check build status * Split into steps * Fix command * Add folder argument * Re-arrange steps * Remove --depth for doc-en * Use one single step to execute all the checks
1 parent c268b1f commit 446f6a3

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

.github/workflows/build.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,14 @@ jobs:
1717
with:
1818
path: 'it'
1919

20-
- name: Build docs
20+
- name: Clone doc-en and doc-base
2121
run: |
2222
git clone --depth=1 https://github.com/php/doc-base.git doc-base
23-
git clone --depth=1 https://github.com/php/doc-en.git en
24-
php doc-base/configure.php --enable-xml-details --disable-libxml-check --redirect-stderr-to-stdout --with-lang=it
23+
git clone https://github.com/php/doc-en.git en
24+
- name: configure.php
25+
run: php doc-base/configure.php --enable-xml-details --disable-libxml-check --redirect-stderr-to-stdout --with-lang=it
26+
- name: Checks
27+
run: |
28+
php doc-base/scripts/broken.php it
29+
php doc-base/scripts/translation/qaxml-attributes.php --urgent
30+
php doc-base/scripts/translation/qaxml-entities.php --urgent

0 commit comments

Comments
 (0)