extend github action tests

add some more steps to the test pipeline:

    - make dist
    - builds from the tarball above

this test should fail until #1943 is fixed.
This commit is contained in:
Sven Nierlein 2023-10-18 10:25:01 +02:00 committed by Sven Nierlein
parent 99e2d981c2
commit 01137cd8f6

View file

@ -77,8 +77,13 @@ jobs:
set -x && \
tmp_dir=$(mktemp -d -t test-XXXX) && cp -a po/ $tmp_dir/ && \
cd po && make update-po && cd .. && \
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 && \
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 && \
make && \
make test'
make test && \
make dist && \
tar zxf monitoring-plugins-*.tar.gz && \
cd monitoring-plugins-*/ && \
./configure && \
make'
docker container prune -f
docker volume prune -f