forked from espressif/esp-protocols
CI: Created a common requirements.txt
This commit is contained in:
2
.github/workflows/target-test.yml
vendored
2
.github/workflows/target-test.yml
vendored
@ -219,7 +219,7 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
PIP_EXTRA_INDEX_URL: "https://www.piwheels.org/simple"
|
PIP_EXTRA_INDEX_URL: "https://www.piwheels.org/simple"
|
||||||
run: |
|
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
|
- 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
|
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
|
- name: Run Example Test on target
|
||||||
|
2
.github/workflows/test_apps.yml
vendored
2
.github/workflows/test_apps.yml
vendored
@ -25,7 +25,7 @@ jobs:
|
|||||||
working-directory: components/mdns/tests/test_apps
|
working-directory: components/mdns/tests/test_apps
|
||||||
run: |
|
run: |
|
||||||
. ${IDF_PATH}/export.sh
|
. ${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 }}
|
- name: Build ${{ matrix.example }} with IDF-${{ matrix.idf_ver }} for ${{ matrix.idf_target }}
|
||||||
env:
|
env:
|
||||||
IDF_TARGET: ${{ matrix.idf_target }}
|
IDF_TARGET: ${{ matrix.idf_target }}
|
||||||
|
@ -2,3 +2,6 @@ pytest-embedded-serial-esp
|
|||||||
pytest-embedded-idf
|
pytest-embedded-idf
|
||||||
junit_xml
|
junit_xml
|
||||||
SimpleWebSocketServer
|
SimpleWebSocketServer
|
||||||
|
dpkt
|
||||||
|
pytest
|
||||||
|
idf_build_apps
|
Reference in New Issue
Block a user