Create a type checking stage before unit testing in CI
Description
- Create a type checking stage before unit testing in CI
- Allow type checking with unpinned dependencies to fail and warn only (
type-check-unpinned
) - Create a separate type checking stage with fully pinned dependencies specified by
requirements.txt
(type-check-pinned
)
Issues addressed
- Relax the CI so it will only fail if type checking fails with fully pinned dependencies
- The warn-only type checking with unpinned dependencies let us know breaking changes in advance