main
focalnet_and_swin_refactor
fix_window_trace
scaling_vit
dataset_info
levit_efficientformer_redux
norm_mlp_classifier
0.6.x
maxxvit_hub
freeze_norm_revisit
parse_kwargs2
parse_kwargs
gh-pages
convnextv2
multi-weight_effnet_convnext
refactor-imports
eva
multi-weight
update-test-pytorch
bits_and_tpu
script_cleanup
clip_laion2b
more_vit
fix_tests
edgenext_csp_and_more
fixes-syncbn_pretrain_cfg_resolve
swin_v2
vit_relpos_refactor
norm_norm_norm
0.5.x
convnext_and_copyright
more_datasets
fixes_bce_regnet
attn_update
perceiver
vit_and_bit_test_fixes
cleanup_xla_model_fixes
more_attn
hf_hub_revisit
xsepconv
efficientnet_attn
v0.1-attn-weights
v0.1-cadene
v0.1-coat-weights
v0.1-dnf-weights
v0.1-effv2-weights
v0.1-ger-weights
v0.1-hrnet
v0.1-mvit-weights
v0.1-pit-weights
v0.1-regnet
v0.1-repvgg-weights
v0.1-res2net
v0.1-resnest
v0.1-rexnet
v0.1-rs-weights
v0.1-rsb-weights
v0.1-selecsls
v0.1-tpu-weights
v0.1-tresnet
v0.1-vitjx
v0.1-vt3p-weights
v0.1-weights
v0.1-weights-maxx
v0.1-weights-morevit
v0.1-weights-swinv2
v0.1.1
v0.2.1
v0.3.3
v0.3.4
v0.4.12
v0.4.5
v0.4.9
v0.5.4
v0.6.11
v0.6.12
v0.6.5
v0.6.7
v0.8.10dev0
v0.8.13dev0
v0.8.2dev0
v0.8.6dev0
${ noResults }
1 Commits (a9917cb562556cba269a100b25e79b2841e87f16)
Author | SHA1 | Message | Date |
---|---|---|---|
![]() |
1a934d2a5e |
Add pytest-cov, requirements-dev, pyproject.toml
When tests finish, a report should be printed that shows the code coverage of timm. This should give us a better idea where we should work on test coverage. I have tested this locally (on a subset of tests) and it worked. Since the number of test dependencies was getting quite high, I created a requirements-dev.txt and moved them there. GH action and CONTRIBUTING.md are adjusted accordingly. Furthermore, instead of extending the pytest invocation, I created a pyproject.toml and added the coverage options there. For completeness, I also added the black settings that come closest to the style of timm. LMK if this is not desired. For now, the coverage is only reported but not enforced. I.e. when a PR is created that adds uncovered lines, CI will still succeed. We could think about adding codecov or something like that, but it can be annoying sometimes and the service was flaky for me in the past. |
2 years ago |