diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 38249aef..49132d47 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -30,9 +30,9 @@ jobs: - name: testing run: | - # docker run --rm -v $(pwd):$(pwd) -w=$(pwd) python:3.6.8 sh dev-test.sh - docker run --rm -v $(pwd):$(pwd) -w=$(pwd) python:3.8 sh dev-test.sh - docker run --rm -v $(pwd):$(pwd) -w=$(pwd) python:3.9 sh dev-test.sh + # docker run --rm -v $(pwd):$(pwd) -w=$(pwd) python:3.6.8 bash dev-test.sh + docker run --rm -v $(pwd):$(pwd) -w=$(pwd) python:3.8 bash dev-test.sh + docker run --rm -v $(pwd):$(pwd) -w=$(pwd) python:3.9 bash dev-test.sh - name: install SO dependencies run: | diff --git a/dev-test.sh b/dev-test.sh index 1174a43e..8c24925f 100644 --- a/dev-test.sh +++ b/dev-test.sh @@ -1,4 +1,10 @@ python -m pip install --upgrade pip && pip install -r requirements.txt + +# Install OPA binary +curl -L -o /usr/local/bin/opa https://openpolicyagent.org/downloads/latest/opa_linux_amd64_static +chmod +x /usr/local/bin/opa +export OPA_HOME=/usr/local/bin + export BASEDIR=`pwd` export FRAMEWORKDIR=`pwd` export PYTHONPATH=$FRAMEWORKDIR/src diff --git a/setup.py b/setup.py index a17fc6b0..37676992 100644 --- a/setup.py +++ b/setup.py @@ -16,7 +16,7 @@ """ setup( - name='prancer-basic', + name='prancer_basic', # also update the version in processor.__init__.py file version='3.1.0', description='Prancer Basic, http://prancer.io/', @@ -26,7 +26,7 @@ url='https://github.com/prancer-io/cloud-validation-framework', # Author(s) details author='Farshid M/Ajey Khanapuri', - author_email='ajey.khanapuri@liquware.com', + author_email='dev@prancer.io', classifiers=[ "Development Status :: 3 - Alpha", 'Topic :: Software Development :: Libraries :: Application Frameworks',