Skip to content

Commit

Permalink
update venv before cd
Browse files Browse the repository at this point in the history
  • Loading branch information
xiazhvera committed May 29, 2024
1 parent 26e0c0e commit eeb1ed1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit eeb1ed1

Please sign in to comment.