new version of gwpy #164
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: Spelling check | |
on: | |
push: | |
branches: "*" | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: [3.9] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install dependencies | |
run: | | |
python -m pip install -U pip | |
python -m pip install -U jupyter codespell | |
- name: Clean all notebooks | |
run: | | |
for file in Tutorials/Day_*/*ipynb; do echo $file; jupyter nbconvert --ClearOutputPreprocessor.enabled=True --inplace $file; done | |
- name: Check spelling | |
run: | | |
codespell . --ignore-regex "\b[a-zA-Z]{2,3}\b" -I .dictionary.txt --skip="./.git/*" |