From eeb1ed1c520cabb450ba3f0008914f69b9e47d4c Mon Sep 17 00:00:00 2001 From: Zhihui Xia Date: Wed, 29 May 2024 16:12:08 -0700 Subject: [PATCH] update venv before cd --- .github/workflows/ci.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 198deb4..29aa14a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -108,7 +108,6 @@ jobs: aws-region: ${{ env.AWS_DEFAULT_REGION }} - name: Build ${{ env.PACKAGE_NAME }} run: | - source .venv/bin/activate python3 -c "from urllib.request import urlretrieve; urlretrieve('${{ env.BUILDER_HOST }}/${{ env.BUILDER_SOURCE }}/${{ env.BUILDER_VERSION }}/builder.pyz?run=${{ env.RUN }}', 'builder')" chmod a+x builder ./builder build -p ${{ env.PACKAGE_NAME }} @@ -145,8 +144,8 @@ jobs: aws-region: ${{ env.AWS_DEFAULT_REGION }} - name: run DeviceAdvisor run: | - cd ./aws-iot-device-sdk-python-v2 source .venv/bin/activate + cd ./aws-iot-device-sdk-python-v2 python3 ./deviceadvisor/script/DATestRun.py linux: