Skip to content

Slight refactoring and documentation of compression #93

Slight refactoring and documentation of compression

Slight refactoring and documentation of compression #93

Workflow file for this run

name: Spell Check
on:
pull_request:
branches: [master]
jobs:
spellcheck:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install dependencies and dictionary
run: |
npm install -g cspell jq @cspell/dict-scientific-terms-us
- name: Run cspell
run: |
cspell --config cspell.json \
"README.md" "CITATION.cff" \
"docs/**/*" \
"src/pynxtools/**/*.py" \
"tests/**/*.py"
- name: Fail on errors
run: |
if [[ $? -ne 0 ]]; then
echo "There are spelling errors in your code. Please fix them and try again."
exit 1
fi