Skip to content

Commit 3eea087

Browse files
committed
Define test dependencies separately
Previously, the test dependencies were installed every time the action was ran, even though they are not used by the action.
1 parent 1cb1fa2 commit 3eea087

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

.github/workflows/libraries_compile-examples.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- name: Install dependencies
2828
run: |
2929
python -m pip install --upgrade pip
30-
pip install --requirement "$GITHUB_WORKSPACE/libraries/compile-examples/compilesketches/requirements.txt"
30+
pip install --requirement "$GITHUB_WORKSPACE/libraries/compile-examples/compilesketches/tests/requirements.txt"
3131
3232
- name: Lint with flake8
3333
run: |

compilesketches/requirements.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
11
GitPython==3.1.2
22
PyGithub==1.51
3-
pytest==5.4.2
4-
pytest-mock==3.1.0
53
PyYAML==5.3.1
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
--requirement ../requirements.txt
2+
pytest==5.4.2
3+
pytest-mock==3.1.0

0 commit comments

Comments
 (0)