Skip to content

🐍 Geometric Computer Vision Library for Spatial AI

:japan: Fix docs ci issue with make (#1370)

Edgar Ribac8ee73105e43
diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml
index 022d3611b..367c38cde 100644
--- a/.github/workflows/docs.yml
+++ b/.github/workflows/docs.yml
@@ -21,9 +21,8 @@ jobs:
- name: Install dependencies
shell: bash -l {0}
run: |
- conda install make -c conda-forge
pip install -r docs/requirements.txt
- make install
+ pip install .[all]
- name: Build Documentation
shell: bash -l {0}
run: make build-docs
diff --git a/.github/workflows/tests_cpu.yml b/.github/workflows/tests_cpu.yml
index 6befc4c0b..923402ea5 100644
--- a/.github/workflows/tests_cpu.yml
+++ b/.github/workflows/tests_cpu.yml
@@ -28,10 +28,9 @@ jobs:
- name: Install dependencies
shell: bash -l {0}
run: |
- conda install curl make -c conda-forge
+ conda install curl -c conda-forge
conda install pytorch=${{ matrix.pytorch-version }} cpuonly -c pytorch
- pip install -e .[all]
- make install
+ pip install .[all]
- name: Run Tests
shell: bash -l {0}
run: pytest -v --device cpu --dtype float32,float64 --cov=kornia --cov-report xml ./test
@@ -59,10 +58,9 @@ jobs:
- name: Install dependencies
shell: bash -l {0}
run: |
- conda install curl make -c conda-forge
+ conda install curl -c conda-forge
conda install pytorch=${{ matrix.pytorch-version }} cpuonly -c pytorch
- pip install -e .[all]
- make install
+ pip install .[all]
- name: Run Tests
shell: bash -l {0}
run: pytest -v --device cpu --dtype float32,float64 --cov=kornia --cov-report xml ./test
diff --git a/.github/workflows/tests_cpu_versions.yml b/.github/workflows/tests_cpu_versions.yml
index d6cea8454..692dc4c70 100644
--- a/.github/workflows/tests_cpu_versions.yml
+++ b/.github/workflows/tests_cpu_versions.yml
@@ -27,10 +27,9 @@ jobs:
- name: Install dependencies
shell: bash -l {0}
run: |
- conda install curl make -c conda-forge
+ conda install curl -c conda-forge
conda install pytorch=${{ matrix.pytorch-version }} cpuonly -c pytorch
- pip install -e .[all]
- make install
+ pip install .[all]
- name: Run Tests
shell: bash -l {0}
run: pytest -v --device cpu --dtype float32,float64 --cov=kornia --cov-report xml ./test --flake8 --mypy
diff --git a/.github/workflows/tests_cuda.yml b/.github/workflows/tests_cuda.yml
index dcb51133b..6acf016fc 100644
--- a/.github/workflows/tests_cuda.yml
+++ b/.github/workflows/tests_cuda.yml
@@ -23,7 +23,7 @@ jobs:
run: |
# NOTE: pytorch image does not include git
conda install -c anaconda git
- pip install -e .[all]
+ pip install .[all]
- name: Run Tests
shell: bash -l {0}
run: pytest -v --device cuda --dtype float32,float64 ./test
diff --git a/.github/workflows/tests_nightly.yml b/.github/workflows/tests_nightly.yml
index 03989dabb..f98638526 100644
--- a/.github/workflows/tests_nightly.yml
+++ b/.github/workflows/tests_nightly.yml
@@ -26,10 +26,9 @@ jobs:
- name: Install dependencies
shell: bash -l {0}
run: |
- conda install curl make -c conda-forge
+ conda install curl -c conda-forge
conda install pytorch cpuonly -c pytorch-nightly
- pip install -r requirements-dev.txt
- make install
+ pip install -r requirements/dev.txt
- name: Run Tests
shell: bash -l {0}
run: pytest -v --device cpu --dtype float32,float64 ./test --flake8 --mypy