Skip to content

Add batched tests (#73) #238

Add batched tests (#73)

Add batched tests (#73) #238

name: CI
on:
push:
branches:
- main
pull_request:
jobs:
build:
name: build
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10"]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: python -m pip install -e .[pgstac,pc,test,docs]
- name: Run tests
run: pytest tests -v
- name: Lint
run: pre-commit run --all-files
- name: Type check
run: mypy .
# Ensure docs build without warnings
- name: Check docs
run: mkdocs build --strict