mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-06-10 17:20:05 -04:00
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:
parent
99e2d981c2
commit
01137cd8f6
1 changed files with 7 additions and 2 deletions
9
.github/workflows/test.yml
vendored
9
.github/workflows/test.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue