This repository has been archived by the owner on Dec 18, 2023. It is now read-only.
Unpin pydantic and fastapi #116
Workflow file for this run
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: Type check | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
type-checking: | |
runs-on: ubuntu-latest | |
timeout-minutes: 15 | |
strategy: | |
matrix: | |
python-version: ['3.8'] | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install ert-storage and dependencies | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install .[test] | |
python -m pip install starlette==0.25.0 | |
- name: Run mypy | |
run: | | |
mypy -p ert_storage --ignore-missing-imports --disallow-untyped-defs --show-error-codes --exclude _alembic --exclude testing |