Skip to content

v3.3.2

v3.3.2 #291

Workflow file for this run

name: Test Runner
on:
push:
branches:
- main
- dev
pull_request:
branches:
- main
- dev
jobs:
test:
name: Execute tests
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@main
with:
python-version: ${{ matrix.python-version }}
- name: Run unit tests
run: |
pip install .
pip install -r requirements-dev.txt
pytest --mypy stac_validator
- name: Run pre-commit
if: matrix.python-version == 3.8
run: |
pre-commit install
pre-commit autoupdate
pre-commit run --all-files
- name: Run tox
run: |
pip install tox
tox -e py