• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

kubeflow / sdk / 17487937699
66%

Build:
DEFAULT BRANCH: main
Ran 05 Sep 2025 08:26AM UTC
Jobs 2
Files 2
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

05 Sep 2025 08:26AM UTC coverage: 70.192% (+0.05%) from 70.146%
17487937699

push

github

web-flow
feat: Support multiple pip index URLs in CustomTrainer (#79)

* feat: Support multiple pip index URLs in CustomTrainer

- Add pip_index_urls parameter to CustomTrainer (list of URLs)
- Update constants to support multiple URLs with environment variable
- Modify utils to handle multiple index URLs in pip installation
- Update tests to use new parameter
- Fix mutable default issue with dataclasses.field(default_factory=...)

Closes #72

Signed-off-by: wassimbensalem <bswassim@gmail.com>

* test: add comprehensive test cases for multiple pip index URLs

Signed-off-by: wassimbensalem <bswassim@gmail.com>

* refactor: simplify constants for pip index URLs

Signed-off-by: wassimbensalem <bswassim@gmail.com>

* fix: remove Optional from pip_index_urls docstring to match implementation

Signed-off-by: wassimbensalem <bswassim@gmail.com>

* test: adjust unit test for get_custom_trainer

Signed-off-by: wassimbensalem <bswassim@gmail.com>

* fix: add missing Dict import in utils.py

Signed-off-by: wassimbensalem <bswassim@gmail.com>

* refactor: move test cases to utils_test.py and convert to parametrized format

Signed-off-by: wassimbensalem <bswassim@gmail.com>

* refactor: update utils test to use exact string matching instead of contains/not_contains checks

- Changed TestCase expected_output from Dict[str, Any] to str
- Replaced contains/not_contains logic with direct string equality
- Updated all test cases to specify complete expected script output
- Tests now assert the entire script returned by get_script_for_python_packages

Signed-off-by: wassimbensalem <bswassim@gmail.com>

* feat: add multiple pip index URLs support with comprehensive tests

- Add support for multiple pip index URLs in CustomTrainer
- Update constants to handle comma-separated environment variables
- Add integration test for multiple pip index URLs flow
- Update utils to generate correct pip install commands with --index-url and --extra-index-url
- Ensure backward compatibility with... (continued)

3 of 4 new or added lines in 1 file covered. (75.0%)

292 of 416 relevant lines covered (70.19%)

1.4 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
62.14
0.25% kubeflow/trainer/utils/utils.py
Jobs
ID Job ID Ran Files Coverage
1 python-3.11 - 17487937699.1 05 Sep 2025 08:26AM UTC 2
70.19
GitHub Action Run
2 python-3.9 - 17487937699.2 05 Sep 2025 08:26AM UTC 2
70.19
GitHub Action Run
Source Files on build 17487937699
  • Tree
  • List 2
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #17487937699
  • 427b35d8 on github
  • Prev Build on main (#17437529941)
  • Next Build on main (#17516475981)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc