Skip to content

Commit

Permalink
Resolve #15: separated requirements packages
Browse files Browse the repository at this point in the history
- avoids big pip installs (e.g., jupyter) not required for continuous testing
  • Loading branch information
mahdiolfat committed Feb 2, 2024
1 parent aec31e3 commit 419545d
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ContinuousTesting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ jobs:
- name: Install Dependencies
run: |
python -m pip install --upgrade pip setuptools wheel
pip install -r requirements.txt
pip install -r requirements-testing.txt
- name: Static Lint
run: |
ruff . --verbose --output-format=github
ruff . --verbose --output-format=github
- name: Static Type Check
run: |
Expand Down
2 changes: 2 additions & 0 deletions requirements-basic.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
numpy
scipy
3 changes: 3 additions & 0 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
-r requirements-basic
matplotlib
jupyterlab
5 changes: 5 additions & 0 deletions requirements-testing.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
-r requirements-basic.txt
ruff
pytest
pytest-cov
mypy
12 changes: 3 additions & 9 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
numpy
scipy
matplotlib

ruff
pytest
pytest-cov
mypy
jupyterlab
-r requirements-basic.txt
-r requirements-testing.txt
-r requirements-dev.txt

0 comments on commit 419545d

Please sign in to comment.