File tree Expand file tree Collapse file tree 3 files changed +20
-5
lines changed Expand file tree Collapse file tree 3 files changed +20
-5
lines changed Original file line number Diff line number Diff line change @@ -65,14 +65,27 @@ jobs:
6565 with :
6666 name : websocket_bin_esp32_${{ matrix.idf_ver }}_${{ matrix.test.app }}
6767 path : ${{ env.TEST_DIR }}/ci/
68- - name : Install Python packages
69- env :
70- PIP_EXTRA_INDEX_URL : " https://www.piwheels.org/simple"
71- run : |
72- pip install --only-binary cryptography --extra-index-url https://dl.espressif.com/pypi/ -r $GITHUB_WORKSPACE/ci/requirements.txt
7368 - name : Run Example Test on target
7469 working-directory : ${{ env.TEST_DIR }}
70+ env :
71+ PIP_EXTRA_INDEX_URL : " https://www.piwheels.org/simple"
7572 run : |
73+ export PYENV_ROOT="$HOME/.pyenv"
74+ export PATH="$PYENV_ROOT/bin:$PATH"
75+ eval "$(pyenv init --path)"
76+ eval "$(pyenv init -)"
77+ if ! pyenv versions --bare | grep -q '^3\.12\.6$'; then
78+ echo "Installing Python 3.12.6..."
79+ pyenv install -s 3.12.6
80+ fi
81+ if ! pyenv virtualenvs --bare | grep -q '^myenv$'; then
82+ echo "Creating pyenv virtualenv 'myenv'..."
83+ pyenv virtualenv 3.12.6 myenv
84+ fi
85+ pyenv activate myenv
86+ python --version
87+ pip install --prefer-binary cryptography pytest-embedded pytest-embedded-serial-esp pytest-embedded-idf pytest-custom_exit_code esptool
88+ pip install --extra-index-url https://dl.espressif.com/pypi/ -r $GITHUB_WORKSPACE/ci/requirements.txt
7689 unzip ci/artifacts.zip -d ci
7790 for dir in `ls -d ci/build_*`; do
7891 rm -rf build sdkconfig.defaults
Original file line number Diff line number Diff line change @@ -4,3 +4,4 @@ Warning: Deprecated: Option '--flash_mode' is deprecated. Use '--flash-mode' ins
44Warning: Deprecated: Option '--flash_freq' is deprecated. Use '--flash-freq' instead.
55Warning: Deprecated: Command 'sign_data' is deprecated. Use 'sign-data' instead.
66Warning: Deprecated: Command 'extract_public_key' is deprecated. Use 'extract-public-key' instead.
7+ warning: unknown kconfig symbol 'EXAMPLE_ETH_PHY_IP101'
Original file line number Diff line number Diff line change 66pytest
77idf_build_apps
88netifaces
9+ esptool >= 5.1.0
You can’t perform that action at this time.
0 commit comments