c12s-kubespray/tests/scripts/md-table/test.sh
2020-04-23 09:51:11 -07:00

11 lines
No EOL
286 B
Bash
Executable file

#!/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