Skip to content

After running bump-pydantic #17

After running bump-pydantic

After running bump-pydantic #17

name: pip - Build, Lint, and Test
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build-lint-test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
python-version: ['3.10']
defaults:
run:
shell: bash -l {0}
steps:
- name: Checkout git repo
uses: actions/checkout@v2
- name: Get git tags
run: git fetch --prune --unshallow --tags
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: 'pip' # caching pip dependencies
- name: Install cutouts
run: |
pip install -e .[tests]
- name: Lint
run: |
pre-commit run --all-files
- name: Test
run: |
pytest . --cov