Antoine Prouvost
1230b92094
Move to Ruff ( #3011 )
...
* Use Ruff LSP
* Remove unused imports
* More Ruff fixes
* Remove unused test vars
* Explicit import
* Explicit import
* Explicit import
* Explicit import
* Explicit import
* Warning fixes
* Import fixtures
* Add ruff pre-commit
* Remove pre-commits checks superceded by ruff
* Fix imports
* Fix ruff warning
* Fix test_linking fixtures
* Fix typo
* Fix test_update fixture import
* Python line-length to 100
* Reformat Python code line length
* Fix typo
2023-11-27 19:10:34 +01:00
Antoine Prouvost
8683078464
Refactor CI and libamambapy tests (on Win) ( #2955 )
...
* TMP disable Unix tests
* Try refactor win CI
* Add libmambapy tests
* Run Windows libamamba tests via CMake
* Add Windows menuinst dependency
* Fix typo
* Debug libmambapy tests Win
* Add micromamba tests windows
* Call test_libmamba from different paths
* Merge workflow launchers
* Fix libmamba tests win
* Fxi
* Fix workspace key
* DEbug win
* Implement local channel tests as part of the intergration tests
* Try Win libmamba tests bash
* Cleanup
* Restore Unix tests
* Make test local channel noarch
* Fix workspace action number
* No error on test cleanup in CI
* Reduce number of threads to conda-index
* Disable local channel tests on Windows
2023-11-03 14:07:54 +01:00
Antoine Prouvost
a8464367c4
Make some fixture local ( #2919 )
...
* Make xdg fixtures local
* Make create fixtures local
2023-10-17 16:27:47 +02:00
Hind-M
b1c4950261
[Micromamba] Add mamba tests ( #2877 )
...
* Add mamba `test_api` tests to umamba
* Add more tests
2023-10-03 10:51:16 +02:00
Antoine Prouvost
8cb0985cd1
Refactor tests ( #2829 )
...
* Make test Python 3.8 compatible
* Speed up test_activation.py
* Refactor test_list.py
2023-09-13 19:26:38 +02:00
Antoine Prouvost
41bc4ee5f3
Speed up tests (a bit) ( #2776 )
...
Make independent long path test
2023-08-24 14:47:50 +02:00
Antoine Prouvost
1400c4e768
Refactor test_shell ( #2726 )
2023-08-04 13:00:02 +02:00
Daniel Farrell
00fb86c726
Use xdg schemas for config saving/reading (minified) ( #2714 )
...
Co-authored-by: Danny Farrell <dan@cyrusbio.com>
2023-08-01 00:08:02 +02:00
Antoine Prouvost
7b0b9a5aeb
Move GHA to setup-micromamba ( #2545 )
...
* Move to setup-micromamba
* Try init-shell
* Activate env in umamba_tests_win_cmd
* Add test_run failure output
* Try pwsh
* Use TEST_MAMBA_EXE in test_run.sh
* Unset CONDARC
* Remove more CONDARC
* Remove unecessary cleanup in main CI
* Flexible Pytest deletion
* Remove explicit activation
2023-06-15 18:20:10 +02:00
Antoine Prouvost
ecb5a7edc5
Micromamba tests improvements ( #2517 )
...
* Automatically restore os.environ in umamba tests
* Cleanup test_info
* Refactor conftest.py
* Eagerly clean micromamba test dir
* Refactor micromamba test_info with new fixtures
* Fix test self_update on Win
2023-05-26 18:27:54 +02:00
Antoine Prouvost
05f1b9b6b3
Refactor test_create, test_proxy, and test_env for test isolation ( #2416 )
...
* Deactivate PyCQA line-length warnings
* Proper os.environ restore in pytest
* Add --mamba-pkgs-dir for cache reuse in Pytest
* Set pytest tmp retention policy
* Allow Path in test helpers
* Refactor test_create for isolation
* Improve pytest fixtures
* Refactor test_env.py for test isolation
* Refactor test_proxy for isolating tests
2023-03-29 19:30:38 +02:00
Wolf Vollprecht
c889fa6855
add micromamba self-update functionality ( #2023 )
2022-11-01 17:24:46 +01:00
AntoinePrv
a4ce7fde8c
No unicode parametrization
2022-10-14 10:45:54 +02:00
AntoinePrv
bd94b721be
Remove umamba/tests PATH cleaning on Windows
2022-10-14 10:45:54 +02:00
AntoinePrv
8a31b22905
Remove duplicate random_string from umamba tests
2022-10-14 10:45:54 +02:00
AntoinePrv
241c5f4f0e
Refactor micromamba test_actiavation to use isolated fixtures
2022-10-14 10:45:52 +02:00
AntoinePrv
613328af41
Rename and parametrize micromamba test env name
2022-10-14 10:04:01 +02:00
AntoinePrv
44b56f2c31
Fake home on windows
2022-07-21 10:38:42 +02:00
AntoinePrv
771ea3cebc
Isolate micromamba config tests
2022-07-21 10:38:42 +02:00