Skip to content

🐍 Geometric Computer Vision Library for Spatial AI

[Feat] enable doctest in the CI (#764)

Edgar Riba7298880ff814
diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml
index 707b92437..3acb73047 100644
--- a/.github/workflows/format.yml
+++ b/.github/workflows/format.yml
@@ -52,3 +52,25 @@ jobs:
- name: Run mypy
shell: bash -l {0}
run: make mypy
+
+ doctest:
+ runs-on: [ubuntu-latest]
+
+ steps:
+ - uses: actions/checkout@v2
+ - name: Setup conda dependencies
+ uses: conda-incubator/setup-miniconda@v1
+ with:
+ auto-update-conda: true
+ python-version: 3.6
+ - name: Install dependencies
+ shell: bash -l {0}
+ run: |
+ conda install curl make -c conda-forge
+ conda install pytorch cpuonly -c pytorch
+ pip install -r requirements-dev.txt
+ make install
+
+ - name: Run mypy
+ shell: bash -l {0}
+ run: make doctest