Skip to content
Permalink
Browse files

make end_to_end_tests run in both py27 and py37 via tox

  • Loading branch information...
technocake committed Jul 17, 2019
1 parent 1529309 commit c3bb374d1f4d991a3882d79d5e8bb2c388a2c754
Showing with 10 additions and 8 deletions.
  1. +1 −0 MANIFEST.in
  2. +3 −7 Makefile
  3. 0 {goto/tests → }/test_end_to_end.sh
  4. +6 −1 tox.ini
@@ -1,5 +1,6 @@
include README.md
include POST_INSTALL_INSTRUCTIONS.txt
include test_end_to_end.sh
# Add all in goto folder
graft goto
# Exclude all cache everywhere
@@ -17,18 +17,14 @@ compile:

clean:
python setup.py clean
rm dist/* || echo Nothing to clean
rm -rf **/*.egg-info
rm -rf dist build */*.egg-info *.egg-info

test:
make unittest
make endtoendtest

unittest:
tox


endtoendtest:
GOTOPATH=/tmp/.goto goto/tests/test_end_to_end.sh
GOTOPATH=/tmp/.goto ./test_end_to_end.sh

testpublish:
make clean
File renamed without changes.
@@ -6,7 +6,12 @@ envlist = py27,py37
deps= pytest
-rrequirements_dev.txt

setenv =
GOTOPATH = /tmp/.goto

commands =
# NOTE: you can run any command line tool here - not just tests
#python -m unittest
# Unit tests
py.test
# End to end tests
./test_end_to_end.sh

0 comments on commit c3bb374

Please sign in to comment.
You can’t perform that action at this time.