8000 misc: Add pip requirements file for workflow. · arduino/arduino-lib-mpy@d96fc40 · GitHub
[go: up one dir, main page]

Skip to content

Commit d96fc40

Browse files
committed
misc: Add pip requirements file for workflow.
1 parent b5f14a0 commit d96fc40

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/python-linter.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,9 @@ jobs:
2828

2929
- name: '🛠 Install dependencies'
3030
run: |
31-
python -m pip install --upgrade pip
32-
python -m pip install flake8==6.0.0 pytest==7.4.0
31+
pip install -r .github/workflows/requirements.txt
32+
flake8 --version
33+
pytest --version
3334
3435
- name: '😾 Lint with flake8'
3536
run: |

.github/workflows/requirements.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
flake8==6.0.0
2+
pytest==7.4.0

0 commit comments

Comments
 (0)
0