Bump pytest from 6.2.4 to 7.4.3 #175
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: test | |
on: [push, pull_request] | |
jobs: | |
doctests: | |
name: doctests with pytest | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v1 | |
with: | |
python-version: 3.7 | |
- name: Install dependencies | |
run: pip install -r requirements.txt | |
- name: Run tests | |
run: pytest --doctest-modules --doctest-glob='*.md' README.md | |
remark_check: | |
name: remark check | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: yarn install | |
uses: borales/[email protected] | |
with: | |
cmd: install | |
- name: yarn test | |
uses: borales/[email protected] | |
with: | |
cmd: test | |
misspell_check: | |
name: misspell check | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: misspell run | |
uses: sobolevn/misspell-fixer-action@master | |
with: | |
options: '-rsv .' | |
- name: check misspell changes | |
run: | | |
[ -n "$(find . -name 'README.md.*.BAK' | head -1)" ] && exit 1 || echo exit 0 |