GitHub Actions: Add codespell to our tests (#213)

* GitHub Actions: Add codespell to our tests

Related to #212

* --ignore-words-list="gameboy,iif,panting,strng"

* actions/setup-python@v2
extensions
Christian Clauss 3 years ago committed by GitHub
parent dd5df82e91
commit 4e37161977
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -327,7 +327,7 @@ jobs:
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Set up Python - name: Set up Python
uses: actions/setup-python@v1 uses: actions/setup-python@v2
with: with:
python-version: '3.x' python-version: '3.x'
- name: Install PlatformIO - name: Install PlatformIO
@ -356,7 +356,7 @@ jobs:
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Set up Python - name: Set up Python
uses: actions/setup-python@v1 uses: actions/setup-python@v2
with: with:
python-version: '3.x' python-version: '3.x'
- name: Install PlatformIO - name: Install PlatformIO
@ -387,7 +387,7 @@ jobs:
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Set up Python - name: Set up Python
uses: actions/setup-python@v1 uses: actions/setup-python@v2
with: with:
python-version: '3.x' python-version: '3.x'
- name: Install PlatformIO - name: Install PlatformIO
@ -548,7 +548,7 @@ jobs:
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }} - name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1 uses: actions/setup-python@v2
with: with:
python-version: ${{ matrix.python-version }} python-version: ${{ matrix.python-version }}
- name: Build Python module - name: Build Python module
@ -563,3 +563,7 @@ jobs:
run: | run: |
pip install pytest pip install pytest
pytest platforms/python pytest platforms/python
- name: Spellcheck
run: |
pip install codespell
codespell --ignore-words-list="gameboy,iif,panting,strng" --quiet-level=2 # --skip=""

Loading…
Cancel
Save