File tree 2 files changed +17
-13
lines changed
2 files changed +17
-13
lines changed Original file line number Diff line number Diff line change 8
8
9
9
jobs :
10
10
documentation :
11
- runs-on : ubuntu-latest
11
+ runs-on : ubuntu-20.04
12
12
steps :
13
13
- name : Checkout repo
14
14
uses : actions/checkout@v2
@@ -20,16 +20,14 @@ jobs:
20
20
- name : Install dependencies
21
21
run : |
22
22
sudo apt update
23
- sudo apt-get install -y libreoffice djvulibre-bin poppler-utils tesseract-ocr libtesseract-dev tesseract-ocr-rus tesseract-ocr-eng
24
23
python -m pip install --upgrade --no-cache-dir pip setuptools
25
- python -m pip install --exists-action=w --no-cache-dir -r requirements.txt
26
- python -m pip install --upgrade --upgrade-strategy eager --no-cache-dir .[torch,docs]
24
+ python -m pip install --exists-action=w --no-cache-dir -r requirements1.txt
25
+ python -m pip install --exists-action=w --no-cache-dir -r requirements2.txt
26
+ python -m pip install --exists-action=w --no-cache-dir -r docs/requirements.txt
27
+ python -m pip install --upgrade --upgrade-strategy eager --no-cache-dir .
27
28
28
29
- name : Build documentation
29
30
# Build the documentation, you can use this command locally
30
31
run : |
31
- python -m sphinx -T -E -W -b html -d docs/_build/doctrees -D language=en docs/source docs/_build
32
- cd docs/source/_static/code_examples
33
- python dedoc_usage_tutorial.py
34
- python dedoc_add_new_doc_type_tutorial.py
35
- python dedoc_add_new_structure_type_tutorial.py
32
+ cd docs/source
33
+ python -m sphinx -T -W --keep-going -b html -d _build/doctrees -D language=en . docs/html
Original file line number Diff line number Diff line change @@ -31,12 +31,18 @@ jobs:
31
31
run : |
32
32
sudo apt-get update
33
33
sudo apt-get install -y build-essential python3-dev
34
- - name : Install torch
34
+ - name : Install dependencies part 1
35
35
run : |
36
- pip install torch==2.0.0
37
- - name : Install other dependencies
36
+ pip install -r requirements1.txt --no-deps
37
+ - name : Install dependencies part 2
38
38
run : |
39
- pip install -r requirements.txt --no-deps
39
+ pip install -r requirements2.txt --no-deps
40
+ - name : just check
41
+ run : |
42
+ pip list
43
+ - name : Install dependencies part 3
44
+ run : |
45
+ pip install -r requirements3.txt --no-deps
40
46
- name : Set PYTHONPATH
41
47
run : |
42
48
echo "PYTHONPATH=$PYTHONPATH:$(pwd)/src" >> $GITHUB_ENV
You can’t perform that action at this time.
0 commit comments