Commit 2835b574 authored by Yunhua Koglin's avatar Yunhua Koglin
Browse files

using venv for python service

commit 515ea135 
Author: Yunhua Koglin <kogliny@amazon.com> 
Date: Fri Mar 19 2021 16:13:16 GMT-0500 (Central Daylight Time) 

    Merge branch 'dev' of codecommit://os-wellbore-domain-services into kogliny
parent 3ae16ada
......@@ -34,8 +34,10 @@ token=$(aws cognito-idp initiate-auth --auth-flow USER_PASSWORD_AUTH --client-id
#### RUN INTEGRATION TEST #########################################################################
cd deployment/osdu-core/os-wellbore-domain-services/testing
cd deployment/osdu-core/os-wellbore-domain-services/testing
python3 -m venv env
source env/bin/activate
pip install -r ./aws-test/build-aws/requirements.txt
rm -rf test-reports/
mkdir test-reports
......@@ -73,4 +75,5 @@ python gen_postman_env.py --token $token --base_url $svc_url --cloud_provider "a
pytest ./functional --environment="./generated/postman_environment.json" --filter-tag=basic
TEST_EXIT_CODE=$?
deactivate
exit $TEST_EXIT_CODE
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment