* Bumping iPython by a minor version broke 3.6 installs for us via https://github.com/frappe/frappe/pull/14192 * We could just add another line in requirements.txt to solve this, but since PY36 is reaching end of life by end of this year and release of 3.10 is just around the corner, might as well just drop it now than later * Frappe v14 would probably have the support range of 3.7-3.10/11 given when we release it. Maintaining dependencies for such a large range can become cumbersome
25 lines
599 B
YAML
25 lines
599 B
YAML
name: 'Documentation Check'
|
|
on:
|
|
pull_request:
|
|
types: [ opened, synchronize, reopened, edited ]
|
|
|
|
jobs:
|
|
docs-required:
|
|
name: 'Documentation Required'
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: 'Setup Environment'
|
|
uses: actions/setup-python@v2
|
|
with:
|
|
python-version: 3.7
|
|
|
|
- name: 'Clone repo'
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Validate Docs
|
|
env:
|
|
PR_NUMBER: ${{ github.event.number }}
|
|
run: |
|
|
pip install requests --quiet
|
|
python $GITHUB_WORKSPACE/.github/helper/documentation.py $PR_NUMBER
|