Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/fast tests #101

Merged
merged 53 commits into from
Jul 8, 2022
Merged

Feature/fast tests #101

merged 53 commits into from
Jul 8, 2022

Conversation

michalk8
Copy link
Collaborator

@michalk8 michalk8 commented Jul 7, 2022

In this PR:

  • remove absl-py dependency, use only pytest
  • fix some tests having unused test arguments
  • consolidate tests into smaller number of files
  • mark some tests as fast and enable fast CI job
  • enable code coverage

closes #92

@michalk8 michalk8 added the enhancement New feature or request label Jul 7, 2022
@michalk8 michalk8 self-assigned this Jul 7, 2022
@michalk8 michalk8 marked this pull request as ready for review July 7, 2022 17:24
Copy link
Contributor

@marcocuturi marcocuturi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot Michal for this massive refactoring, this is extremely helpful... A lot of work!

@michalk8 michalk8 merged commit b218701 into ott-jax:main Jul 8, 2022
@michalk8 michalk8 deleted the feature/fast-tests branch July 8, 2022 12:56
michalk8 added a commit that referenced this pull request Jun 27, 2024
* Enable tests coverage

* Add fast test CI job

* Add coverage upload in CI

* Add custom fast mark handling

* Fix typo in tests.yml

* Fix wrong test_mark identifier

* Update continuous barycenter test

* Update discrete barycenter

* Update FGW test, fix fixture handling

* Update GW tests

* Update/move GW unbalanced test

* Update ICNN test

* Update NeuralDualSolver tests

* Update Sinkhorn Anderson accel. test

* Refactor Sinkhorn Bures test

* Refactor Sinkhorn differentiability tests

* Move and refactor grid diff + precond tests

* Refactor and move Hessian tests

* Move SinkhornJacobianApply test

* Move implicit vs. autodiff tests

* Update SinkhornGrid test

* Update Sinkhorn jitting tests

* Update LRSinkhorn test

* Move SinkhornOnline tests

* Move jacobian test

* Move sinkhorn unbalanced tests

* Move Sinkhorn jitting tests, add chex as dep

* Update Sinkhorn tests

* Update TestCostFn

* Update LRGeom test

* Update Geom LSE and PC apply tests

* Update PC apply test

* Update Matrix square root tests

* Update ScaleCost tests

* Update SinkhornDivGrad test

* Update SinkhornDivergece output and tests

* Update soft sort and transport tests

* Update GMM pair test

* Fix typo, update FitGMM tests

* Update GMM pair test

* Update Gaussian Mixture test

* Update TestGaussian

* Update lingalg tests

* Update probabilities test

* Refactor ScaleTriL tests

* Remove absl-py from requirements

* Add .codecov.yml

* Fix typo in tests.yml

* Add coverage badge

* Fix type hint in 3.8

* Try using pytest-xdist

* Update pytest config, add --cov-append
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Marking fast tests
2 participants