Skip to content

Commit 7c61bab

Browse files
author
Jamie Smith
authored
Fix incorrect requirements line for dotenv (#193)
* Fix incorrect requirements line for dotenv * Also use requirements.txt in CI jobs
1 parent 3af1c75 commit 7c61bab

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

.github/workflows/greentea_cmake.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,9 @@ jobs:
1010
- name: Checkout
1111
uses: actions/checkout@v3
1212

13-
- name: Install the latest mbed-tools
13+
- name: Install Python packages
1414
run: |
15-
pip3 install --upgrade mbed-tools
16-
mbedtools --version
15+
python3 -m pip install -r tools/requirements.txt
1716
1817
- name: Build NUCLEO_G031K8 with baremetal profile
1918
run: |

.github/workflows/test_building_multiple_executables.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ jobs:
99
steps:
1010
- name: Checkout
1111
uses: actions/checkout@v3
12+
13+
- name: Install Python packages
14+
run: |
15+
python3 -m pip install -r tools/requirements.txt
1216
1317
- name: Build the multiple_executables example
1418
run: |

tools/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ prettytable>=2.0,<4.0; python_version >= '3.6'
77
future>=0.18.0,<1.0
88
jinja2>=2.11.3
99
intelhex>=2.3.0,<3.0.0
10-
dotenv
10+
python-dotenv
1111
Click>=7.1,<9
1212
GitPython
1313
tqdm

0 commit comments

Comments
 (0)