pyomeca / bioptim

An optimization framework that links CasADi, Ipopt, ACADOS and biorbd for Optimal Control Problem
MIT License
94 stars 47 forks source link

Testing the tests on windows #897

Closed pariterre closed 3 weeks ago

pariterre commented 1 month ago

All Submissions:

New Feature Submissions:

  1. [ ] Does your submission pass the tests (if not please explain why this is intended)?
  2. [ ] Did you write a proper documentation (docstrings and ReadMe)
  3. [ ] Have you linted your code locally prior to submission (using the command: black . -l120 --exclude "external/*")?

Changes to Core Features:


This change is Reviewable

pariterre commented 1 month ago

@Ipuch

Ipuch commented 1 month ago

@Kev1CO Can you run your tests on a new environment locally ?

Kev1CO commented 4 weeks ago

I ran the test on my laptop and had only 1 error on test_continuity_as_objective. The values weren't the same as the one in the test. Here is my env: <html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns="http://www.w3.org/TR/REC-html40">

Git hub action | Local -- | -- biorbd   1.11.2   py312heded1f7_1   conda-forge | biorbd   1.11.2   py312heded1f7_1   conda-forge numpy   2.1.2   py312hf10105a_0   conda-forge | numpy   2.1.2   py312hf10105a_0   conda-forge scipy   1.14.1   py312h337df96_1   conda-forge | scipy   1.14.1   py312h337df96_1   conda-forge casadi   3.6.7   py312hb567ab1_0   conda-forge | casadi   3.6.7   py312hb567ab1_0   conda-forge platform win32 -- Python 3.12.7, pytest-8.3.3 | pytest   8.3.3   pyhd8ed1ab_0   conda-forge

The only difference is that my python is on version 3.10 instead of 3.12 in github action.

Ipuch commented 3 weeks ago

Minor differences with the PR #895 where all tests were fine image image image