mirror of
https://github.com/godotengine/godot-docs.git
synced 2025-12-31 17:49:03 +03:00
Fixes https://github.com/godotengine/godot/issues/42236. Make codespell skip the Telugu line, otherwise it wants to change `te` to `the` (I don't want to put it as a global word ignore as it's a common typo.)
28 lines
842 B
YAML
28 lines
842 B
YAML
name: Continuous integration
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-20.04
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Install dependencies
|
|
run: |
|
|
# Install tools used by `_tools/format.sh`.
|
|
sudo apt-get -qq update
|
|
sudo apt-get -qq install dos2unix recode
|
|
sudo pip3 install -r requirements.txt
|
|
sudo pip3 install codespell
|
|
|
|
- name: Linter checks
|
|
run: |
|
|
bash _tools/format.sh
|
|
codespell -I _tools/codespell-ignore.txt -x _tools/codespell-ignore-lines.txt {about,community,development,getting_started,tutorials}/**/*.rst
|
|
|
|
- name: Sphinx build
|
|
run: |
|
|
# Use dummy builder to improve performance.
|
|
sphinx-build --color -b dummy -d _build/doctrees -W . _build/html
|