CI: Created a common requirements.txt

This commit is contained in:
Suren Gabrielyan
2022-10-19 10:00:14 +02:00
parent aee016d6e4
commit 23a537b19b
3 changed files with 5 additions and 2 deletions

View File

@ -219,7 +219,7 @@ jobs:
env:
PIP_EXTRA_INDEX_URL: "https://www.piwheels.org/simple"
run: |
pip install --only-binary cryptography --extra-index-url https://dl.espressif.com/pypi/ -r $GITHUB_WORKSPACE/components/esp_websocket_client/examples/requirements.txt
pip install --only-binary cryptography --extra-index-url https://dl.espressif.com/pypi/ -r $GITHUB_WORKSPACE/ci/requirements.txt
- name: Download Example Test to target
run: python -m esptool --chip ${{ matrix.idf_target }} write_flash 0x0 components/esp_websocket_client/examples/build/flash_image.bin
- name: Run Example Test on target

View File

@ -25,7 +25,7 @@ jobs:
working-directory: components/mdns/tests/test_apps
run: |
. ${IDF_PATH}/export.sh
pip install dpkt pytest idf_build_apps pytest-embedded-serial-esp
pip install -r $GITHUB_WORKSPACE/ci/requirements.txt
- name: Build ${{ matrix.example }} with IDF-${{ matrix.idf_ver }} for ${{ matrix.idf_target }}
env:
IDF_TARGET: ${{ matrix.idf_target }}

View File

@ -2,3 +2,6 @@ pytest-embedded-serial-esp
pytest-embedded-idf
junit_xml
SimpleWebSocketServer
dpkt
pytest
idf_build_apps