Skip to content

Commit

Permalink
New CI tests (mindsdb#266)
Browse files Browse the repository at this point in the history
* Removed useless files and moved test to other dirs

* changed names

* renamed dirs added to ignore

* removed all useless and outdate files and tests from integration testing

* added both ci testing categories

* added ci testing seapration

* finished the full test suite, added debugging printing

* fixed full text suite argument passing

* broadedn travis config

* removed mindsdb storage

* changed bug reporting template

* changed bug reporting template

* trying to get python to run on osx

* trying lower python version for osx, removed windows

* trying to fix python via new xcode

* trying to get python 3.7.2 on osx

* added possible windows setup

* properly specifying pip version

* updated lightwood version

* changed phyhon version for ubuntu

* added OS specific requirements install

* removed windows req file, changed the format of the requirmenets.txt file

* added missing import

* added new temporary windows requirement

* added dependency_links to help with windows install

* got it working on windows

* added appropriate waits

* added os specific python runner

* removed debugging logic

* fixed windows dependency

* changed test order for debugging purposes

* switched default numpy version

* added cache cleaning before setup

* added longer timeouts

* shortened test time for windows

* switched to lightwood as default for fast test

* changed github  versioning

* added tnesorflow-estimator requirement for macbook

* trying new install on osx

* added estimator to try getting osx to work

* added warnning for failing imports

* corrected place where imports are made

* corrected place where imports are made

* debugging

* changed order for tensorflow estimator dependency

* removed redundant imports

* trying different versioning for tf estimator

* I give up mkaing it work on macbook

* changed test for macbook, lightwood made default backend

* back to full test for macbook

* version update

* trying to make osx work... again
  • Loading branch information
George3d6 authored and torrmal committed Jul 15, 2019
1 parent 648b5ea commit 5175179
Show file tree
Hide file tree
Showing 25 changed files with 158 additions and 2,470 deletions.
20 changes: 11 additions & 9 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,19 @@
---
name: Bug report
about: Create a report to help us improve
labels:
labels:

---

**Your Environment**

* Python version:
* Pip version:
* Operating system:
* Python environment used (e.g. venv, conda):
* Mindsdb version you tried to install:
* Additional info if applicable:

**Describe the bug**
A clear and concise description of what the bug is.

Expand All @@ -17,12 +26,5 @@ Steps to reproduce the behavior:
**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
- OS: [e.g. Ubuntu 18.04]
- Additional info if applicable

**Additional context**
Add any other context about the problem here.
Add any other context or screenshots about the bug being reported.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
*__MACOSX*
*.zip
docs/video_docs/video_and_audio
docs/video_docs/results
Expand All @@ -18,6 +19,7 @@ train_data.csv
*.test.*
.cache*
storage/*
mindsdb_storage
mindsdb_storage/*
config/personal_config.py
*.jar
Expand Down
31 changes: 26 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,40 @@
language: python
matrix:
include:
#- python: 3.6
- python: 3.7
- name: "Python 3.7.3 on Ubuntu 16.0.4"
os: linux
python: 3.7.3
dist: xenial
sudo: true

- name: "Python 3.7.2 on OSX"
os: osx
language: shell
dist: xcode10.2

- name: "Python 3.7.3 on Windows"
os: windows # Windows 10.0.17134 N/A Build 17134
language: shell # 'language: python' is an error on Travis CI Windows
before_install:
- choco install python
- python -m pip install --upgrade pip
env: PATH=/c/Python37:/c/Python37/Scripts:$PATH

notifications:
# send notifications only on master failure
email:
only: master
cache: pip
# install dependencies
install:
- travis_wait pip install -e .
before_script: cd integration_testing
- travis_wait pip3 install --upgrade pip
#- travis_wait pip3 install -e .
- if [ "$TRAVIS_OS_NAME" = "windows" ]; then travis_wait 60 python setup.py install; fi
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then travis_wait 60 python3 setup.py install; fi
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then travis_wait 60 pip3 install -e . ; fi
before_script: cd tests/ci_tests
# run tests
script:
- python3 run_travis_tests.py
- if [ "$TRAVIS_OS_NAME" = "windows" ]; then travis_wait 60 python fast_test.py; fi
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then travis_wait 60 python3 full_test.py; fi
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then travis_wait 60 python3 full_test.py; fi
106 changes: 0 additions & 106 deletions TODO.md

This file was deleted.

1 change: 0 additions & 1 deletion integration_testing/files_that_fail/README.md

This file was deleted.

21 changes: 0 additions & 21 deletions integration_testing/files_that_fail/fail_2019_01_01_14_24.csv

This file was deleted.

Loading

0 comments on commit 5175179

Please sign in to comment.