Skip to content

Commit

Permalink
CHORE: install mapie from master for v1 integration tests, add checks…
Browse files Browse the repository at this point in the history
…-v1-not-in-ci (#560)

CHORE: install mapie from master for v1 integration tests, add checks-v1-not-in-ci
  • Loading branch information
Valentin-Laurent committed Jan 8, 2025
1 parent 872628c commit b6f3f3d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,15 @@ tests:
pytest -vs --doctest-modules mapie

integration-tests-v1:
@pip install mapie --no-dependencies --target=./mapie_v1/integration_tests/$(mapie_v0_folder_name) >/dev/null 2>&1
@pip install git+https://github.com/scikit-learn-contrib/MAPIE@master --no-dependencies --target=./mapie_v1/integration_tests/$(mapie_v0_folder_name) >/dev/null 2>&1
@mv ./mapie_v1/integration_tests/$(mapie_v0_folder_name)/mapie ./mapie_v1/integration_tests/$(mapie_v0_folder_name)/mapiev0
@- export PYTHONPATH="${PYTHONPATH}:./mapie_v1/integration_tests/$(mapie_v0_folder_name)"; pytest -vs mapie_v1/integration_tests/tests -k $(pattern)
@mv ./mapie_v1/integration_tests/$(mapie_v0_folder_name)/mapiev0 ./mapie_v1/integration_tests/$(mapie_v0_folder_name)/mapie

checks-v1-not-in-ci:
$(MAKE) v1-type-check
$(MAKE) integration-tests-v1 pattern=test

coverage:
pytest -vs \
--doctest-modules \
Expand Down

0 comments on commit b6f3f3d

Please sign in to comment.