Skip to content

Create a type checking stage before unit testing in CI

Zehao Chen requested to merge zchen723/buildgrid:zchen723/ci-typecheck into master

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

Merge request reports

Loading