mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-15 15:45:01 +00:00
ci: Check for conflicts & valid python in early separate step
This commit is contained in:
8
.github/workflows/patch.yml
vendored
8
.github/workflows/patch.yml
vendored
@@ -34,6 +34,14 @@ jobs:
|
||||
- name: Clone
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Check for valid Python & Merge Conflicts
|
||||
run: |
|
||||
python -m compileall -f "${GITHUB_WORKSPACE}"
|
||||
if grep -lr --exclude-dir=node_modules "^<<<<<<< " "${GITHUB_WORKSPACE}"
|
||||
then echo "Found merge conflicts"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
- name: Setup Python
|
||||
uses: "gabrielfalcao/pyenv-action@v9"
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user