File tree Expand file tree Collapse file tree 3 files changed +48
-0
lines changed Expand file tree Collapse file tree 3 files changed +48
-0
lines changed Original file line number Diff line number Diff line change
1
+ # -*- coding: utf-8 -*-
2
+ # Copyright (C) 2023 Benjamin Thomas Schwertfeger
3
+ # Github: https://github.com/btschwertfeger
4
+ #
5
+ # Template workflow to build documentation.
6
+ #
7
+
8
+ name : Build Doc
9
+
10
+ on :
11
+ workflow_call :
12
+ inputs :
13
+ os :
14
+ type : string
15
+ required : true
16
+ python-version :
17
+ type : string
18
+ required : true
19
+
20
+ jobs :
21
+ Build :
22
+ runs-on : ${{ inputs.os }}
23
+ steps :
24
+ - name : Checkout repository
25
+ uses : actions/checkout@v3
26
+
27
+ - name : Set up Python ${{ inputs.python-version }}
28
+ uses : actions/setup-python@v4
29
+ with :
30
+ python-version : ${{ inputs.python-version }}
31
+
32
+ - name : Install dependencies
33
+ run : |
34
+ python -m pip install --upgrade pip
35
+ python -m pip install -r docs/requirements.txt
36
+
37
+ - name : Build the documentation
38
+ run : cd docs && make html
Original file line number Diff line number Diff line change 37
37
os : ${{ matrix.os }}
38
38
python-version : ${{ matrix.python-version }}
39
39
40
+ # # Build the documentation
41
+ # #
42
+ Build-Doc :
43
+ needs : [Pre-Commit]
44
+ uses : ./.github/workflows/_build_doc.yml
45
+ with :
46
+ os : " ubuntu-latest"
47
+ python-version : " 3.11"
48
+
40
49
# # Run the unit tests for Python 3.8 until 3.11
41
50
# #
42
51
Test :
Original file line number Diff line number Diff line change @@ -135,6 +135,7 @@ del*.py
135
135
* .csv
136
136
* .log
137
137
* .zip
138
+ .vscode /
138
139
139
140
* .egg-info /
140
141
conda.stuff /
You can’t perform that action at this time.
0 commit comments