Skip to content

ignore .vscode

ignore .vscode #32

Workflow file for this run

name: Test
on:
workflow_dispatch: {}
push: {}
jobs:
test:
name: Test
runs-on: ubuntu-latest
continue-on-error: true
strategy:
matrix:
python: ["3.8", "3.9", "3.10"]
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python }}
- name: Templatize
# Templatize the repo before attempting to run tests. (Tests will fail
# otherwise, due to syntax errors.)
# NOTE: Check if the 'templatize' script exists, so that this doesn't
# immediately fail for repos that have already run the script.
run: |
if test -f "templatize"; then
./templatize
fi
- name: Install Package
run: |
pip install -e .[test]
- name: Test
run: |
ruff .
pytest --cov --cov-report term-missing --cov-fail-under 80 tests/
mypy