Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/suryatejreddy/eva
Browse files Browse the repository at this point in the history
  • Loading branch information
suryatejreddy committed Apr 20, 2022
2 parents a024951 + 8569efd commit 28e3554
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 3 deletions.
41 changes: 41 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
pipeline {
agent {
dockerfile {
filename 'docker/eva_jenkins.Dockerfile'
}

}
stages {
stage('Setup and Build') {
parallel {
stage('Setup Virtual Environment') {
steps {
sh '''python3 -m venv env37
. env37/bin/activate
pip install --upgrade pip
pip install scikit-build
pip install cython
pip install flake8==3.9.0 pytest==6.1.2 pytest-cov==2.11.1 mock==4.0.3 coveralls==3.0.1
python setup.py install '''
}
}

stage('Generate Parser') {
steps {
sh 'sh script/antlr4/generate_parser.sh'
}
}

}
}

stage('Test') {
steps {
sh '''. env37/bin/activate
sh script/test/test.sh
coveralls'''
}
}

}
}
3 changes: 1 addition & 2 deletions eva/eva.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@ storage:
pyspark:
property: {'spark.logConf': 'true',
'spark.driver.memory': '10g',
'spark.sql.execution.arrow.pyspark.enabled': 'true',
'spark.jars.ivy' : /tmp/.ivy'}
'spark.sql.execution.arrow.pyspark.enabled': 'true'}
coalesce: 2


Expand Down
2 changes: 1 addition & 1 deletion test/server/test_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
from eva.server.server import start_server
from eva.server.server import EvaServer

from asyncio.exceptions import CancelledError
from asyncio import CancelledError


class ServerTests(unittest.TestCase):
Expand Down

0 comments on commit 28e3554

Please sign in to comment.