-
Notifications
You must be signed in to change notification settings - Fork 22
Testing changes to Easydata
Amy Wooding edited this page Sep 3, 2022
·
8 revisions
It's a bit of a rat's nest right now...but tests exist.
There are tests that we inherited from cookiecutter-datascience.
pytest
in tests
will run it
Currently fails one of the tests because our directory structure is different. This needs to get fixed.
In ci this is scripted via .circleci/config.yml
. Let's walk through the manual, local checks.
Run cookiecutter repo-location
with the repo on the branch to be tested, input test-env
as the project and repo name.
cd test-env
make create_environment
conda activate test-env
touch environment.yml
make update_environment
conda activate test-env
python src/tests/make_test_datasets.py
make test
cd docs
purest -v test_docs.py