-
Notifications
You must be signed in to change notification settings - Fork 332
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into add-taran-iith
- Loading branch information
Showing
266 changed files
with
2,613 additions
and
2,624 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,70 +12,70 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: Clone repo | ||
uses: actions/checkout@v3.6.0 | ||
uses: actions/checkout@v4.1.0 | ||
- name: Set up python | ||
uses: actions/[email protected] | ||
with: | ||
python-version: '3.11' | ||
- name: Cache dependencies | ||
uses: actions/[email protected].1 | ||
uses: actions/[email protected].2 | ||
id: cache | ||
with: | ||
path: ${{ env.pythonLocation }} | ||
key: ${{ env.pythonLocation }}-${{ hashFiles('setup.cfg') }} | ||
- name: Install pip dependencies | ||
if: steps.cache.outputs.cache-hit != 'true' | ||
run: | | ||
pip install .[tests] | ||
pip list | ||
run: pip install .[tests] | ||
- name: List pip dependencies | ||
run: pip list | ||
- name: Run pytest checks | ||
run: pytest --cov=torchgeo --cov-report=xml --durations=10 | ||
integration: | ||
name: integration | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Clone repo | ||
uses: actions/checkout@v3.6.0 | ||
uses: actions/checkout@v4.1.0 | ||
- name: Set up python | ||
uses: actions/[email protected] | ||
with: | ||
python-version: '3.11' | ||
- name: Cache dependencies | ||
uses: actions/[email protected].1 | ||
uses: actions/[email protected].2 | ||
id: cache | ||
with: | ||
path: ${{ env.pythonLocation }} | ||
key: ${{ env.pythonLocation }}-${{ hashFiles('setup.cfg') }} | ||
- name: Install pip dependencies | ||
if: steps.cache.outputs.cache-hit != 'true' | ||
run: | | ||
pip install .[datasets,tests] | ||
pip list | ||
run: pip install .[datasets,tests] | ||
- name: List pip dependencies | ||
run: pip list | ||
- name: Run integration checks | ||
run: pytest -m slow --durations=10 | ||
notebooks: | ||
name: notebooks | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Clone repo | ||
uses: actions/checkout@v3.6.0 | ||
uses: actions/checkout@v4.1.0 | ||
- name: Set up python | ||
uses: actions/[email protected] | ||
with: | ||
python-version: '3.11' | ||
- name: Cache dependencies | ||
uses: actions/[email protected].1 | ||
uses: actions/[email protected].2 | ||
id: cache | ||
with: | ||
path: ${{ env.pythonLocation }} | ||
key: ${{ env.pythonLocation }}-${{ hashFiles('setup.cfg') }} | ||
- name: Install pip dependencies | ||
if: steps.cache.outputs.cache-hit != 'true' | ||
run: | | ||
pip install .[docs,tests] planetary_computer pystac pytest-rerunfailures | ||
pip list | ||
run: pip install .[docs,tests] planetary_computer pystac | ||
- name: List pip dependencies | ||
run: pip list | ||
- name: Run notebook checks | ||
run: pytest --nbmake --durations=10 --reruns=10 docs/tutorials | ||
run: pytest --nbmake --durations=10 docs/tutorials | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.event.pull_request.head.label || github.head_ref || github.ref }} | ||
cancel-in-progress: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,114 +14,114 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: Clone repo | ||
uses: actions/checkout@v3.6.0 | ||
uses: actions/checkout@v4.1.0 | ||
- name: Set up python | ||
uses: actions/[email protected] | ||
with: | ||
python-version: '3.11' | ||
- name: Cache dependencies | ||
uses: actions/[email protected].1 | ||
uses: actions/[email protected].2 | ||
id: cache | ||
with: | ||
path: ${{ env.pythonLocation }} | ||
key: ${{ env.pythonLocation }}-${{ hashFiles('requirements/style.txt') }} | ||
- name: Install pip dependencies | ||
if: steps.cache.outputs.cache-hit != 'true' | ||
run: | | ||
pip install -r requirements/style.txt | ||
pip list | ||
run: pip install -r requirements/style.txt | ||
- name: List pip dependencies | ||
run: pip list | ||
- name: Run black checks | ||
run: black . --check --diff | ||
flake8: | ||
name: flake8 | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Clone repo | ||
uses: actions/checkout@v3.6.0 | ||
uses: actions/checkout@v4.1.0 | ||
- name: Set up python | ||
uses: actions/[email protected] | ||
with: | ||
python-version: '3.11' | ||
- name: Cache dependencies | ||
uses: actions/[email protected].1 | ||
uses: actions/[email protected].2 | ||
id: cache | ||
with: | ||
path: ${{ env.pythonLocation }} | ||
key: ${{ env.pythonLocation }}-${{ hashFiles('requirements/style.txt') }} | ||
- name: Install pip dependencies | ||
if: steps.cache.outputs.cache-hit != 'true' | ||
run: | | ||
pip install -r requirements/style.txt | ||
pip list | ||
run: pip install -r requirements/style.txt | ||
- name: List pip dependencies | ||
run: pip list | ||
- name: Run flake8 checks | ||
run: flake8 | ||
isort: | ||
name: isort | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Clone repo | ||
uses: actions/checkout@v3.6.0 | ||
uses: actions/checkout@v4.1.0 | ||
- name: Set up python | ||
uses: actions/[email protected] | ||
with: | ||
python-version: '3.11' | ||
- name: Cache dependencies | ||
uses: actions/[email protected].1 | ||
uses: actions/[email protected].2 | ||
id: cache | ||
with: | ||
path: ${{ env.pythonLocation }} | ||
key: ${{ env.pythonLocation }}-${{ hashFiles('requirements/style.txt') }} | ||
- name: Install pip dependencies | ||
if: steps.cache.outputs.cache-hit != 'true' | ||
run: | | ||
pip install -r requirements/style.txt | ||
pip list | ||
run: pip install -r requirements/style.txt | ||
- name: List pip dependencies | ||
run: pip list | ||
- name: Run isort checks | ||
run: isort . --check --diff | ||
pydocstyle: | ||
name: pydocstyle | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Clone repo | ||
uses: actions/checkout@v3.6.0 | ||
uses: actions/checkout@v4.1.0 | ||
- name: Set up python | ||
uses: actions/[email protected] | ||
with: | ||
python-version: '3.11' | ||
- name: Cache dependencies | ||
uses: actions/[email protected].1 | ||
uses: actions/[email protected].2 | ||
id: cache | ||
with: | ||
path: ${{ env.pythonLocation }} | ||
key: ${{ env.pythonLocation }}-${{ hashFiles('requirements/style.txt') }} | ||
- name: Install pip dependencies | ||
if: steps.cache.outputs.cache-hit != 'true' | ||
run: | | ||
pip install -r requirements/style.txt | ||
pip list | ||
run: pip install -r requirements/style.txt | ||
- name: List pip dependencies | ||
run: pip list | ||
- name: Run pydocstyle checks | ||
run: pydocstyle | ||
pyupgrade: | ||
name: pyupgrade | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Clone repo | ||
uses: actions/checkout@v3.6.0 | ||
uses: actions/checkout@v4.1.0 | ||
- name: Set up python | ||
uses: actions/[email protected] | ||
with: | ||
python-version: '3.11' | ||
- name: Cache dependencies | ||
uses: actions/[email protected].1 | ||
uses: actions/[email protected].2 | ||
id: cache | ||
with: | ||
path: ${{ env.pythonLocation }} | ||
key: ${{ env.pythonLocation }}-${{ hashFiles('requirements/style.txt') }} | ||
- name: Install pip dependencies | ||
if: steps.cache.outputs.cache-hit != 'true' | ||
run: | | ||
pip install -r requirements/style.txt | ||
pip list | ||
run: pip install -r requirements/style.txt | ||
- name: List pip dependencies | ||
run: pip list | ||
- name: Run pyupgrade checks | ||
run: pyupgrade --py39-plus $(find . -path ./docs/src -prune -o -name "*.py" -print) | ||
concurrency: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,22 +14,22 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: Clone repo | ||
uses: actions/checkout@v3.6.0 | ||
uses: actions/checkout@v4.1.0 | ||
- name: Set up python | ||
uses: actions/[email protected] | ||
with: | ||
python-version: '3.11' | ||
- name: Cache dependencies | ||
uses: actions/[email protected].1 | ||
uses: actions/[email protected].2 | ||
id: cache | ||
with: | ||
path: ${{ env.pythonLocation }} | ||
key: ${{ env.pythonLocation }}-${{ hashFiles('requirements/required.txt') }}-${{ hashFiles('requirements/datasets.txt') }}-${{ hashFiles('requirements/tests.txt') }} | ||
- name: Install pip dependencies | ||
if: steps.cache.outputs.cache-hit != 'true' | ||
run: | | ||
pip install -r requirements/required.txt -r requirements/datasets.txt -r requirements/tests.txt | ||
pip list | ||
run: pip install -r requirements/required.txt -r requirements/datasets.txt -r requirements/tests.txt | ||
- name: List pip dependencies | ||
run: pip list | ||
- name: Run mypy checks | ||
run: mypy . | ||
pytest: | ||
|
@@ -43,13 +43,13 @@ jobs: | |
python-version: ['3.9', '3.10', '3.11'] | ||
steps: | ||
- name: Clone repo | ||
uses: actions/checkout@v3.6.0 | ||
uses: actions/checkout@v4.1.0 | ||
- name: Set up python | ||
uses: actions/[email protected] | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Cache dependencies | ||
uses: actions/[email protected].1 | ||
uses: actions/[email protected].2 | ||
id: cache | ||
with: | ||
path: ${{ env.pythonLocation }} | ||
|
@@ -70,9 +70,9 @@ jobs: | |
if: ${{ runner.os == 'Windows' }} | ||
- name: Install pip dependencies | ||
if: steps.cache.outputs.cache-hit != 'true' | ||
run: | | ||
pip install -r requirements/required.txt -r requirements/datasets.txt -r requirements/tests.txt | ||
pip list | ||
run: pip install -r requirements/required.txt -r requirements/datasets.txt -r requirements/tests.txt | ||
- name: List pip dependencies | ||
run: pip list | ||
- name: Run pytest checks | ||
run: pytest --cov=torchgeo --cov-report=xml --durations=10 | ||
- name: Report coverage | ||
|
@@ -86,13 +86,13 @@ jobs: | |
MPLBACKEND: Agg | ||
steps: | ||
- name: Clone repo | ||
uses: actions/checkout@v3.6.0 | ||
uses: actions/checkout@v4.1.0 | ||
- name: Set up python | ||
uses: actions/[email protected] | ||
with: | ||
python-version: '3.9' | ||
- name: Cache dependencies | ||
uses: actions/[email protected].1 | ||
uses: actions/[email protected].2 | ||
id: cache | ||
with: | ||
path: ${{ env.pythonLocation }} | ||
|
@@ -105,9 +105,9 @@ jobs: | |
sudo apt-get install unrar | ||
- name: Install pip dependencies | ||
if: steps.cache.outputs.cache-hit != 'true' | ||
run: | | ||
pip install -r requirements/min-reqs.old -c requirements/min-cons.old | ||
pip list | ||
run: pip install -r requirements/min-reqs.old -c requirements/min-cons.old | ||
- name: List pip dependencies | ||
run: pip list | ||
- name: Run pytest checks | ||
run: pytest --cov=torchgeo --cov-report=xml --durations=10 | ||
- name: Report coverage | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,24 +16,24 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: Clone repo | ||
uses: actions/checkout@v3.6.0 | ||
uses: actions/checkout@v4.1.0 | ||
- name: Set up python | ||
uses: actions/[email protected] | ||
with: | ||
python-version: '3.11' | ||
- name: Cache dependencies | ||
uses: actions/[email protected].1 | ||
uses: actions/[email protected].2 | ||
id: cache | ||
with: | ||
path: ${{ env.pythonLocation }} | ||
key: ${{ env.pythonLocation }}-${{ hashFiles('setup.cfg') }} | ||
- name: Install pip dependencies | ||
if: steps.cache.outputs.cache-hit != 'true' | ||
run: | | ||
pip install .[docs,tests] planetary_computer pystac pytest-rerunfailures | ||
pip list | ||
run: pip install .[docs,tests] planetary_computer pystac | ||
- name: List pip dependencies | ||
run: pip list | ||
- name: Run notebook checks | ||
run: pytest --nbmake --durations=10 --reruns=10 docs/tutorials | ||
run: pytest --nbmake --durations=10 docs/tutorials | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.event.pull_request.head.label || github.head_ref || github.ref }} | ||
cancel-in-progress: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.