Skip to content

Detection Model TextNet (TF+PT) #1027

Detection Model TextNet (TF+PT)

Detection Model TextNet (TF+PT) #1027

Workflow file for this run

name: pull_requests
on:
pull_request:
branches: main
jobs:
docs-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.8
uses: actions/setup-python@v4
with:
python-version: "3.8"
architecture: x64
- name: Cache python modules
uses: actions/cache@v3
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pkg-deps-${{ matrix.python }}-${{ hashFiles('pyproject.toml') }}-docs
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e .[tf] --upgrade
pip install -e .[docs]
- name: Build documentation
run: cd docs && bash build.sh
- name: Documentation sanity check
run: test -e docs/build/index.html || exit