Closed scap3yvt closed 2 months ago
MLCommons CLA bot All contributors have signed the MLCommons CLA ✍️ ✅
I think this should be ready, @VukW!
Hi @scap3yvt ! I don't know why CI didn't trigger pytest after last merge, but for me locally tests fail, in particular these two: https://github.com/mlcommons/GaNDLF/blob/new-apis_v0.1.0-dev__849-standardize_cli_options/testing/entrypoints/test_preprocess.py https://github.com/mlcommons/GaNDLF/blob/new-apis_v0.1.0-dev__849-standardize_cli_options/testing/entrypoints/test_patch_miner.py
that's reasonable as they use old param names. Also, tests on old way scripts fail also, say here (and same fore patch_miner)
You can check tests locally via pytest ./testing/entrypoints/test_preprocess.py
and pytest ./testing/entrypoints/test_patch_miner.py
I am curious/concerned why the tests are not getting triggered...
@sarthakpati I checked the workflow, it's triggered only on PR to master:
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
(as well as codacy, codeql-analysis, devcontainer, mlcube-test, openfl-test, ossar-analysis workflows)
Ah thanks! I am going to put a PR about that now.
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 94.41%. Comparing base (
2ed393d
) to head (fda8c6d
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Fixes #849, #851
Proposed Changes
Checklist
CONTRIBUTING
guide has been followed.typing
is used to provide type hints, including and not limited to usingOptional
if a variable has a pre-defined value).pip install
step is needed for PR to be functional), please ensure it is reflected in all the files that control the CI, namely: python-test.yml, and all docker files [1,2,3].