Fix link in README.md #19
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: Checks | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python 3.10 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.10' | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi | |
#---------------------------------------------- | |
# run pytest | |
#---------------------------------------------- | |
- name: Run pytest | |
run: | | |
pytest | |
#---------------------------------------------- | |
# run black | |
#---------------------------------------------- | |
- name: Run black | |
run: | | |
black --check . | |
#---------------------------------------------- | |
# run flake8 | |
#---------------------------------------------- | |
- name: Run flake8 | |
run: | | |
flake8 | |
#---------------------------------------------- | |
# run mypy | |
# missing imports are ignored because of marisa_trie | |
#---------------------------------------------- | |
- name: Run mypy | |
run: | | |
mypy --ignore-missing-imports . |