Note that the conda-lock.yml lockfile is used, since micromamba support it! However, we're installing pytest separately instead of adding it to the environment.yml file.
Also gitignoring __pycache__/ and pytest_cache/ folders
How you can test it
Install pytest and run python -m pytest --verbose chabud/tests/ locally
What I am changing
main
branchHow I did it
chabud/tests/test_datapipe.py
to ensure ChaBuDDataPipeModule works.github/workflows/test.yml
which runs on Ubuntu-22.04 and Python 3.11conda-lock.yml
lockfile is used, sincemicromamba
support it! However, we're installingpytest
separately instead of adding it to theenvironment.yml
file.__pycache__/
andpytest_cache/
foldersHow you can test it
pytest
and runpython -m pytest --verbose chabud/tests/
locallyRelated Issues
Based on https://github.com/weiji14/zen3geo/pull/2 and code from the private
ml-pipeline
repo.