This repository has been archived by the owner on Sep 4, 2024. It is now read-only.
Merge pull request #380 from specifysystems/points-to-matrix #222
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
name: Test Sphinx Build | |
on: | |
push: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
with: | |
fetch-depth: 0 | |
# Install GDAL | |
- name: Install GDAL | |
run: | | |
pip install numpy | |
sudo add-apt-repository --yes ppa:ubuntugis/ppa | |
sudo apt-get --quiet update | |
sudo apt-get install --yes libgdal-dev gdal-bin libspatialindex-dev | |
export CPLUS_INCLUDE_PATH=/usr/include/gdal | |
export C_INCLUDE_PATH=/usr/include/gdal | |
pip install GDAL==`gdal-config --version` | |
- name: Install library dependencies | |
run: | | |
pip install -r requirements.txt | |
- name: Install documentation dependencies | |
#uses: py-actions/py-dependency-install@v2 | |
#with: | |
# path: "requirements-docs.txt" | |
run: | | |
pip install -r requirements-docs.txt | |
- name: Debugging | |
run: | | |
export PYTHONPATH=lmpy; echo $PYTHONPATH; ls -lah lmpy/ | |
- name: Build and Commit | |
uses: sphinx-notes/[email protected] | |
with: | |
documentation_path: _sphinx_config/ |