From 01137cd8f6c22c12514ba73b80f130d835bb84ab Mon Sep 17 00:00:00 2001 From: Sven Nierlein Date: Wed, 18 Oct 2023 10:25:01 +0200 Subject: 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. diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 37c7738..6bbe053 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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 -- cgit v0.10-9-g596f