File tree Expand file tree Collapse file tree 1 file changed +4
-13
lines changed
Expand file tree Collapse file tree 1 file changed +4
-13
lines changed Original file line number Diff line number Diff line change @@ -73,22 +73,13 @@ jobs:
7373 PIP_EXTRA_INDEX_URL : " https://www.piwheels.org/simple"
7474 run : |
7575 sudo apt-get install -y dnsutils
76+ - name : Set up Python
77+ uses : actions/setup-python@v5
78+ with :
79+ python-version : " 3.12.6"
7680 - name : Run ${{ matrix.test.app }} application on ${{ matrix.idf_target }}
7781 working-directory : components/mdns/${{ matrix.test.path }}
7882 run : |
79- export PYENV_ROOT="$HOME/.pyenv"
80- export PATH="$PYENV_ROOT/bin:$PATH"
81- eval "$(pyenv init --path)"
82- eval "$(pyenv init -)"
83- if ! pyenv versions --bare | grep -q '^3\.12\.6$'; then
84- echo "Installing Python 3.12.6..."
85- pyenv install -s 3.12.6
86- fi
87- if ! pyenv virtualenvs --bare | grep -q '^myenv$'; then
88- echo "Creating pyenv virtualenv 'myenv'..."
89- pyenv virtualenv 3.12.6 myenv
90- fi
91- pyenv activate myenv
9283 python --version
9384 pip install --prefer-binary cryptography pytest-embedded pytest-embedded-serial-esp pytest-embedded-idf pytest-custom_exit_code esptool
9485 pip install --extra-index-url https://dl.espressif.com/pypi/ -r $GITHUB_WORKSPACE/ci/requirements.txt
You can’t perform that action at this time.
0 commit comments