Skip to content

Commit 47ee2ce

Browse files
Jamie SmithVictor Tang
andauthored
Re-add CMSIS MCU description file and a utility to manage it (#282)
* Start adding CMSIS MCU description tool * Add 'add-missing' * Switch MCU descriptions to JSON5 * Add new MCU after rebase * Use virtualenv instead of APT for installing packages * Also remove apt requirements files * Wrong command! * Check if index file exists before checking update time * Respond to comments * Make must_exist keyword only --------- Co-authored-by: Victor Tang <[email protected]>
1 parent b64b6e6 commit 47ee2ce

File tree

7 files changed

+13745
-27
lines changed

7 files changed

+13745
-27
lines changed

.github/workflows/basic_checks.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,16 +164,24 @@ jobs:
164164
-
165165
name: Checkout repo
166166
uses: actions/checkout@v3
167+
168+
- name: Install python3-venv
169+
run: |
170+
sudo apt-get update
171+
sudo apt-get install -y python3-venv
167172
168173
-
169174
name: install dependencies
170175
run: |
171-
xargs sudo apt-get install -y < tools/requirements.apt.txt
172-
xargs sudo apt-get install -y < tools/python/python_tests/requirements.apt.txt
176+
python3 -m venv venv
177+
source venv/bin/activate
178+
pip install -r tools/requirements.txt
179+
pip install -r tools/python/python_tests/requirements.txt
173180
174181
-
175182
name: Python Tests
176183
run: |
184+
source venv/bin/activate
177185
cd tools/python
178186
./run_python_tests.sh
179187

0 commit comments

Comments
 (0)