File tree Expand file tree Collapse file tree 1 file changed +44
-0
lines changed Expand file tree Collapse file tree 1 file changed +44
-0
lines changed Original file line number Diff line number Diff line change 6565 # This is associated with the "sdk-test-prod" user, credentials on 1password
6666 GROUNDLIGHT_API_TOKEN : ${{ secrets.GROUNDLIGHT_API_TOKEN_PROD }}
6767
68+ # Check that the docs build. (No broken links, etc.)
69+ test-docs :
70+ runs-on : ubuntu-latest
71+ defaults :
72+ run :
73+ working-directory : docs/
74+ steps :
75+ - name : Get code
76+ uses : actions/checkout@v4
77+ - name : Setup npm
78+ uses : actions/setup-node@v3
79+ with :
80+ node-version : 21
81+ cache : npm
82+ - name : Install dependencies
83+ run : npm install
84+ - name : Build website
85+ run : npm run build
86+
87+ # Checks that the API reference docs built with sphinx build
88+ test-api-reference-docs :
89+ runs-on : ubuntu-latest
90+ steps :
91+ - name : get code
92+ uses : actions/checkout@v4
93+ - name : install python
94+ uses : actions/setup-python@v4
95+ with :
96+ python-version : ${{ env.PYTHON_VERSION }}
97+ - name : Install poetry
98+ uses : snok/install-poetry@v1
99+ with :
100+ version : ${{ env.POETRY_VERSION }}
101+ - name : Setup npm
102+ uses : actions/setup-node@v3
103+ with :
104+ node-version : 21
105+ cache : npm
106+ - name : Install dependencies
107+ run : make install-sphinx-deps
108+ - name : Build API documentation
109+ run : |
110+ make apidocs
111+
68112 # Run integration tests against the API (only on the main branch, though). The comprehensive
69113 # version runs a matrix of python versions for better coverage.
70114 # This tests runs on
You can’t perform that action at this time.
0 commit comments