Skip to content

Commit

Permalink
change requirements install path
Browse files Browse the repository at this point in the history
Signed-off-by: Carlos Gomes <[email protected]>
  • Loading branch information
CarlosGomes98 committed Jul 2, 2024
1 parent 8609a11 commit b427754
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12"]
python-version: ["3.10", "3.11"]

steps:
- name: Clone repo
Expand All @@ -27,9 +27,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest
pip install -r requirements.txt
pip install -e .
pip install -r requirements/required.txt -r requirements/test.txt
- name: List pip dependencies
run: pip list
- name: Test with pytest
Expand Down
4 changes: 4 additions & 0 deletions requirements/dev.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
mkdocs-material==9.4.14
mkdocstrings[python]
h5py==3.10.0
geobench==1.0.0
12 changes: 12 additions & 0 deletions requirements/required.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
torchgeo==0.5.1
rioxarray==0.15.0
albumentations==1.3.1
rasterio==1.3.9
torch==2.1.0
torchvision==0.16.0
torchmetrics==1.3.1
geopandas==0.14.2
lightly==1.4.25
h5py==3.10.0
geobench==1.0.0
mlflow==2.12.1
3 changes: 3 additions & 0 deletions requirements/test.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
coverage[toml]>=6.5
pytest-cov==4.1.0
pytest==7.4.3

0 comments on commit b427754

Please sign in to comment.