diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 479c1e90..9ef75813 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -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 @@ -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 diff --git a/requirements/dev.txt b/requirements/dev.txt new file mode 100644 index 00000000..95fc76b8 --- /dev/null +++ b/requirements/dev.txt @@ -0,0 +1,4 @@ +mkdocs-material==9.4.14 +mkdocstrings[python] +h5py==3.10.0 +geobench==1.0.0 \ No newline at end of file diff --git a/requirements/required.txt b/requirements/required.txt new file mode 100644 index 00000000..80114f18 --- /dev/null +++ b/requirements/required.txt @@ -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 diff --git a/requirements/test.txt b/requirements/test.txt new file mode 100644 index 00000000..51d98159 --- /dev/null +++ b/requirements/test.txt @@ -0,0 +1,3 @@ +coverage[toml]>=6.5 +pytest-cov==4.1.0 +pytest==7.4.3 \ No newline at end of file