diff options
author | Sven Nierlein <sven@consol.de> | 2023-10-18 08:25:01 (GMT) |
---|---|---|
committer | Sven Nierlein <sven@nierlein.org> | 2023-10-18 09:02:16 (GMT) |
commit | 01137cd8f6c22c12514ba73b80f130d835bb84ab (patch) | |
tree | 9027866235089cc3fe104102a79528d771f46fd8 /.github | |
parent | 99e2d981c2968e44a2c2d53a97cd4eabc0ec63cc (diff) | |
download | monitoring-plugins-01137cd8f6c22c12514ba73b80f130d835bb84ab.tar.gz |
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.
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/test.yml | 9 |
1 files changed, 7 insertions, 2 deletions
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: | |||
77 | set -x && \ | 77 | set -x && \ |
78 | tmp_dir=$(mktemp -d -t test-XXXX) && cp -a po/ $tmp_dir/ && \ | 78 | tmp_dir=$(mktemp -d -t test-XXXX) && cp -a po/ $tmp_dir/ && \ |
79 | cd po && make update-po && cd .. && \ | 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 && \ | 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 && \ |
81 | make && \ | 81 | make && \ |
82 | make test' | 82 | make test && \ |
83 | make dist && \ | ||
84 | tar zxf monitoring-plugins-*.tar.gz && \ | ||
85 | cd monitoring-plugins-*/ && \ | ||
86 | ./configure && \ | ||
87 | make' | ||
83 | docker container prune -f | 88 | docker container prune -f |
84 | docker volume prune -f | 89 | docker volume prune -f |