tflite-micro/python
Ryan Kuester 31b5246ebf
build(bazel): provide means of excluding whl_test locally (#2940)
Mark whl_test as size "large", so that it, and other tests of a
similar size, can be excluded with the --test_size_filters
option.

For even more convenience, provide a hook for developers to add
local .bazlerc-style defaults and configurations in
$root/bazelrc.local and ../$root/bazelrc.local.

This gives a convenient means of explicitly excluding whl_test
during local, incremental development runs of `bazel test ...`,
while not surprising users who don't opt in, and without
affecting CI.

whl_test's cached result is invalidated, and the test rerun,
following most git activity, because the git hash appears in the
Python package's version number. This combined with its long
runtime and network dependency makes it a nuisance when running
`bazel test ...` incrementally during development. Of course,
this test be run when developing changes that affect the package,
before pushing commits to main, and in CI.

BUG=see description
2024-11-27 00:51:53 +00:00
..
tests ci(bazel): simplify scripts and configuration in advance of additions (#2918) 2024-11-21 10:38:16 -08:00
tflite_micro build(bazel): provide means of excluding whl_test locally (#2940) 2024-11-27 00:51:53 +00:00
BUILD
py_namespace.bzl feat: build and test a Python distribution package tflite_micro (#2151) 2023-08-01 22:27:53 +00:00
py_pkg_cc_deps.bzl Fixing google3 presubmit buildify errors. (#1809) 2023-03-08 21:06:49 +00:00