mirror of
https://github.com/php/doc-it.git
synced 2026-03-23 23:22:07 +01:00
29 lines
772 B
YAML
29 lines
772 B
YAML
name: Build Test
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
pull_request:
|
|
branches:
|
|
- master
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v2
|
|
with:
|
|
path: 'it'
|
|
|
|
- name: Clone doc-en and doc-base
|
|
run: |
|
|
git clone --depth=1 https://github.com/php/doc-base.git doc-base
|
|
git clone https://github.com/php/doc-en.git en
|
|
- name: configure.php
|
|
run: php doc-base/configure.php --enable-xml-details --disable-libxml-check --redirect-stderr-to-stdout --with-lang=it
|
|
- name: Checks
|
|
run: |
|
|
php doc-base/scripts/translation/qaxml-attributes.php --urgent
|
|
php doc-base/scripts/translation/qaxml-entities.php --urgent |