diff options
-rw-r--r-- | .github/workflows/test.yml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 306f21cf..9c84acc4 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml | |||
@@ -74,6 +74,10 @@ jobs: | |||
74 | /bin/sh -c '${{ matrix.prepare }} && \ | 74 | /bin/sh -c '${{ matrix.prepare }} && \ |
75 | tools/setup && \ | 75 | tools/setup && \ |
76 | ./configure --enable-libtap --with-ipv6=no && \ | 76 | ./configure --enable-libtap --with-ipv6=no && \ |
77 | set -x && \ | ||
78 | tmp_dir=$(mktemp -d -t test-XXXX) && cp -a po/ $tmp_dir/ && \ | ||
79 | cd po && make update-po && cd .. && \ | ||
80 | diff -Nur $tmp_dir/po/*.po po/*.po | tee -a /tmp/po.diff && diff -Nur $tmp_dir/po/*.pot po/*.pot | tee -a /tmp/po.diff && if [ $(wc -l /tmp/po.diff | cut -f 1 -d" ") -gt 0 ]; then echo "Error: Translations needs to be updated with make update-po!" && exit 1; fi && \ | ||
77 | make && \ | 81 | make && \ |
78 | make test' | 82 | make test' |
79 | docker container prune -f | 83 | docker container prune -f |