Commit Graph
10 Commits
Author SHA1 Message Date
Arnaud Gourlay 05273437ef Bump poetry version to avoid potential compat. issues (#6818)
* Bump poetry version to avoid potential compat. issues

* Poetry does not run bash script anymore

* fix path

* use new --project flag

* migrate also coverage for good measure
2025-07-17 13:49:36 +02:00
Kumar Shivendu beccbfd363 Fix dev branch coverage (#6538)
* Fix dev branch coverage

* Add comments
2025-05-16 09:18:14 +02:00
Kumar Shivendu 0389060955 Introduce coverage reports for integration tests (#6414)
* Introduce coverage reports for integration tests

* Install cargo-llvm-cov

* Use multiline script

* Explicityl setup COVERAGE env var

* fix integration tests and log generated data

* fix ls path

* upload lcov file to GH artifacts

* integration profraw dynamic filename

* Fix llvm profile filename template

* Use interrupt instead of kill and merge consensus test results into same file

* Drop upload artifact stage

* install llvm-cov

* upload as artifact and export coverage files

* try simplifying workflow

* Migrate coverage generation to existing dedicated gh workflow

* trigger on coverage related branches

* Build only if qdrant binary with cov doesnt exist

* Use valid yaml

* include mode in profraw filename

* split coverage workflow into parallel jobs

* add poetry version to env

* log poetry version to install

* clean up integration test workflow

* Simplify comments
2025-05-13 11:16:09 +02:00
Kumar Shivendu 39dff45e80 Fix codecov branch issue (#6345) 2025-04-20 23:54:31 +02:00
Kumar Shivendu 0b63baa7a7 Code cov override branch (#6262) 2025-03-31 16:21:11 +02:00
Tim Visée b0926caede Revert "Temporarily run code coverage on merging to dev (#5911)" (#5982)
This reverts commit efcbce195e.
2025-02-17 10:20:54 +01:00
Kumar Shivendu 222b25150a Fix coverage test OOD on CI (#5927)
* Fix coverage test OOD on CI

* Temporarily run coverage CI on PR

* Clean artifacts per package and store in tmp dir

* fix typo in gh workflow

* Add monitoring script again for debugging

* trigger script

* Fix monitor script path

* dont checkout dev branch

* Merge .info file only if test passed

* Try merging .info file only if it exists

* trigger ci

* fix workflow

* trigger ci

* Customize branch to check out

* Remove monitor.sh script

* remove unused env var
2025-02-11 14:41:12 +01:00
dependabot[bot] 0a790a72f9 build(deps): bump codecov/codecov-action from 3 to 5 (#5940)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 3 to 5.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v3...v5)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-11 14:40:39 +01:00
Kumar Shivendu ecc783a25d Temporarily run code coverage on merging to dev (#5911) 2025-02-11 14:38:30 +01:00
Kumar Shivendu 5e7d644c4c Setup code coverage reports (#5751)
* Setup code coverage for Rust tests

* Add API key env var for codecov

* Save code coverage report for upload

* Trigger CI

* Try without explicit build step

* Run coverage job on self hosted runner

* Fix mistake because of which is was running fewer tests

* Run coverage on ubuntu latest

* Trigger CI

* fix name

* run coverage on all os

* Adjust after rebase to dev

* Avoid running coverage in other jobs

* fix test job

* reset test workflow

* Trigger CI

* run coverage after tests

* Add script to monitor resources

* fix indentation

* remove coverage dependency on test job

* fix needs field

* add monitoring script

* Run tail -f to monitor resources concurrently with tests

* Split commands

* Use --jobs=1 to possibly minimize RAM

* Try generating coverage one by one

* Dont clean coverage artifacts

* Merge .lcov files with lcov command

* Upload merged lcov.info file

* Run coverage for fewer packages

* Improve coverage script

* Move coverage.sh to tools dir

* Prepare for review

* Improve CI output and failure handling

* Generate HTML report if running locally

* Cleanup

* Run coverage on schedule and only for dev branch
2025-02-11 14:36:44 +01:00