Skip to content

Commit a5f5172

Browse files
CHORE: install mapie from master for v1 integration tests, add checks-v1-not-in-ci (#560)
CHORE: install mapie from master for v1 integration tests, add checks-v1-not-in-ci
1 parent e1764d3 commit a5f5172

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Makefile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,15 @@ tests:
1515
pytest -vs --doctest-modules mapie
1616

1717
integration-tests-v1:
18-
@pip install mapie --no-dependencies --target=./mapie_v1/integration_tests/$(mapie_v0_folder_name) >/dev/null 2>&1
18+
@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
1919
@mv ./mapie_v1/integration_tests/$(mapie_v0_folder_name)/mapie ./mapie_v1/integration_tests/$(mapie_v0_folder_name)/mapiev0
2020
@- export PYTHONPATH="${PYTHONPATH}:./mapie_v1/integration_tests/$(mapie_v0_folder_name)"; pytest -vs mapie_v1/integration_tests/tests -k $(pattern)
2121
@mv ./mapie_v1/integration_tests/$(mapie_v0_folder_name)/mapiev0 ./mapie_v1/integration_tests/$(mapie_v0_folder_name)/mapie
2222

23+
checks-v1-not-in-ci:
24+
$(MAKE) v1-type-check
25+
$(MAKE) integration-tests-v1 pattern=test
26+
2327
coverage:
2428
pytest -vsx \
2529
--cov-branch \

0 commit comments

Comments
 (0)