1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65
|
#!/bin/bash
pip uninstall -y numpy
pip uninstall -y pandas
pytest \
--cov-append \
--cov-report=xml \
--cov=rpy2.rinterface_lib \
--cov=rpy2.rinterface \
--cov=rpy2.rlike \
--cov=rpy2.ipython \
--cov=rpy2.robjects \
rpy2-rinterface/src/rpy2/rinterface/tests \
rpy2-robjects/src/rpy2/robjects/tests
pytest \
--cov-append \
--cov-report=xml \
--cov=rpy2.rinterface_lib.embedded \
rpy2-rinterface/src/rpy2/tests/rinterface/test_noinitialization.py
pytest \
--cov-append \
--cov-report=xml \
--cov=rpy2.rinterface_lib.embedded \
rpy2-rinterface/src/rpy2/tests/rinterface/test_endr.py
pip install numpy
pytest \
--cov-append \
--cov-report=xml \
--cov=rpy2.rinterface_lib \
--cov=rpy2.rinterface \
--cov=rpy2.rlike \
--cov=rpy2.ipython \
--cov=rpy2.robjects \
rpy2-rinterface/src/rpy2/rinterface/tests \
rpy2-robjects/src/rpy2/robjects/tests
pip install pandas
pytest \
--cov-append \
--cov-report=xml \
--cov=rpy2.rinterface_lib \
--cov=rpy2.rinterface \
--cov=rpy2.rlike \
--cov=rpy2.ipython \
--cov=rpy2.robjects \
rpy2-rinterface/src/rpy2/rinterface/tests \
rpy2-robjects/src/rpy2/robjects/tests
sudo Rscript ./install_r_packages.r ggplot2 dplyr tidyr dbplyr lazyeval rlang
pytest \
--cache-clear \
--cov-append \
--cov-report=xml \
--cov=rpy2.rinterface_lib \
--cov=rpy2.rinterface \
--cov=rpy2.rlike \
--cov=rpy2.robjects \
--cov=rpy2.robjects.lib \
rpy2-robjects/src/rpy2/robjects/tests/robjects/lib
|