Skip to content

Add GIT LFS support

Add GIT LFS support #5

Workflow file for this run

# This workflow will install Python dependencies, run tests, lint, and build docs
# This run for every pull request
name: Build Docs
on:
pull_request:
branches: [ "main" ]
env:
NEOSPY_CACHE_DIR: ${{ github.workspace }}/docs/data
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 10
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v4
with:
lfs: true
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.9"
- name: Install dependencies
run: |
python3 -m pip install --upgrade pip setuptools
- name: Build neospy
run: |
python3 -m pip install '.[dev]' -v
- name: Build Docs
run: |
(cd docs && make clean && make html && make doctest)
- name: Archive Docs
uses: actions/upload-artifact@v2
with:
name: "docs"
path:
docs/html/*