File tree 2 files changed +10
-6
lines changed
2 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -62,5 +62,5 @@ WORKDIR /tsfresh
62
62
# Requires adding safe.directory so that tsfresh can build when the
63
63
# repo is mounted.
64
64
# Note cannot do this at build time as no git directory exists
65
- ENTRYPOINT ["/bin/bash", "-c", "git config --global --add safe.directory /tsfresh && tox -r -p auto" ]
65
+ ENTRYPOINT ["/bin/bash", "-c", "git config --global --add safe.directory /tsfresh]
66
66
CMD ["tox", "-r", "-p", "auto"]
Original file line number Diff line number Diff line change @@ -14,25 +14,29 @@ build-testenv:
14
14
15
15
# Tests `PYTHON_VERSIONS`, provided they are also
16
16
# specified in setup.cfg `envlist`
17
- test-all-testenv : build-testenv
17
+ test-all-testenv : clean build-testenv
18
18
docker run --rm \
19
19
--name $(TEST_CONTAINER ) \
20
20
-v .:$(WORKDIR ) \
21
+ # To ensure build artifacts dont conflict with local
22
+ -v build_artifacts:$(WORKDIR ) /build
21
23
$(TEST_IMAGE )
22
24
23
25
# Tests the python binaries installed
24
26
# on local machine, provided they are also
25
27
# specified in setup.cfg `envlist`
26
- test-all-local :
27
- tox -r
28
+ test-all-local : clean
29
+ tox -r -p auto
28
30
29
31
# Tests for python version on local machine in
30
32
# current context (e.g. global or local version of
31
33
# python set by pyenv, or the python version in
32
34
# the active virtualenv).
33
- test-local :
35
+ test-local : clean
34
36
pip install .[testing]
35
37
pytest
36
38
37
39
clean :
38
- rm -rf .tox
40
+ rm -rf .tox build/ dist/ * .egg-info
41
+
42
+ .PHONY : clean test-all-local test-local test-all-testenv
You can’t perform that action at this time.
0 commit comments