c12s-kubespray/tests/scripts/md-table/test.sh

11 lines
286 B
Bash
Raw Normal View History

2020-04-23 16:51:11 +00:00
#!/bin/bash
set -euxo pipefail
echo "Install requirements..."
pip install -r ./tests/scripts/md-table/requirements.txt
echo "Generate current file..."
./tests/scripts/md-table/main.py > tmp.md
echo "Compare docs/ci.md with actual tests in tests/files/*.yml ..."
cmp docs/ci.md tmp.md