Merge pull request #15 from sanjaymjoshi/notebooks #71
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: | |
pull_request: {} | |
push: | |
branches: main | |
tags: "*" | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ["3.10", "3.11", "3.12"] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v1 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies with pipenv | |
run: | | |
pip install pipenv | |
pipenv install --deploy --dev | |
pipenv graph | |
- run: pipenv run isort --recursive --diff . | |
- run: pipenv run black --check . | |
- run: pipenv run flake8 | |
- run: pipenv run mypy | |
- run: pipenv run pytest --cov --cov-fail-under=100 | |