1
0
mirror of https://github.com/gsi-upm/senpy synced 2024-11-22 00:02:28 +00:00

Avoid python temporary files in pip tests

This commit is contained in:
J. Fernando Sánchez 2017-06-12 21:50:51 +02:00
parent c555b9547e
commit 312e7f7f12
2 changed files with 2 additions and 4 deletions

View File

@ -98,7 +98,7 @@ clean :
- make -e clean - make -e clean
when: manual when: manual
cleanup_pypirc: cleanup_py:
stage: clean stage: clean
when: always # this is important; run even if preceding stages failed. when: always # this is important; run even if preceding stages failed.
script: script:

View File

@ -76,9 +76,7 @@ test-%:
test: test-$(PYMAIN) test: test-$(PYMAIN)
dist/$(TARNAME): version dist/$(TARNAME): version
docker run --rm -v $$PWD:/usr/src/app/ -w /usr/src/app/ python:$(PYMAIN) python setup.py sdist; python setup.py sdist;
docker run --rm -v $$PWD:/usr/src/app/ -w /usr/src/app/ python:$(PYMAIN) chmod -R a+rwx dist;
sdist: dist/$(TARNAME) sdist: dist/$(TARNAME)