General settings page keep loading eternally if presale start/end is removed #979
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Documentation | |
on: | |
push: | |
branches: [ development, master ] | |
paths-ignore: | |
- 'src/pretix/locale/**' | |
- 'src/pretix/static/**' | |
- 'src/tests/**' | |
pull_request: | |
branches: [ development, master ] | |
paths-ignore: | |
- 'src/pretix/locale/**' | |
- 'src/pretix/static/**' | |
- 'src/tests/**' | |
jobs: | |
spelling: | |
name: Spellcheck | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python 3.11 | |
uses: actions/setup-python@v1 | |
with: | |
python-version: 3.11 | |
- uses: actions/cache@v1 | |
with: | |
path: ~/.cache/pip | |
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }} | |
restore-keys: | | |
${{ runner.os }}-pip- | |
- name: Install system packages | |
run: sudo apt update && sudo apt install enchant hunspell aspell-en | |
- name: Install Dependencies | |
run: pip3 install -Ur doc/requirements.txt | |
- name: Spellcheck docs | |
run: make spelling | |
working-directory: ./doc | |
- name: | |
run: '[ ! -s _build/spelling/output.txt ]' | |
working-directory: ./doc |