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

11 lines
286 B
Bash
Raw Normal View History

2020-04-24 00:51:11 +08: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