[monitoring-plugins] extend github action tests
Sven Nierlein
git at monitoring-plugins.org
Wed Oct 18 11:10:11 CEST 2023
Module: monitoring-plugins
Branch: master
Commit: 01137cd8f6c22c12514ba73b80f130d835bb84ab
Author: Sven Nierlein <sven at consol.de>
Committer: Sven Nierlein <sven at nierlein.org>
Date: Wed Oct 18 10:25:01 2023 +0200
URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=01137cd
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.
---
.github/workflows/test.yml | 9 +++++++--
1 file 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:
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
More information about the Commits
mailing list