ci: Check for conflicts & valid python in early separate step

This commit is contained in:
Gavin D'souza
2022-07-04 11:11:14 +05:30
parent 9439a7fd30
commit b07dd1083a
4 changed files with 24 additions and 8 deletions

View File

@@ -2,13 +2,6 @@
set -e
# Check for merge conflicts before proceeding
python -m compileall -f "${GITHUB_WORKSPACE}"
if grep -lr --exclude-dir=node_modules "^<<<<<<< " "${GITHUB_WORKSPACE}"
then echo "Found merge conflicts"
exit 1
fi
cd ~ || exit
sudo apt update && sudo apt install redis-server libcups2-dev