forked from internetarchive/openlibrary
-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (35 loc) · 1.11 KB
/
codegen_api_docs.yml
File metadata and controls
37 lines (35 loc) · 1.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: codegen_api_docs
on: workflow_dispatch
jobs:
codegen_api_docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: true
- uses: actions/setup-python@v3
with:
python-version: "3.9"
- name: Install dependencies
run: |
sudo apt-get update
# https://lxml.de/installation.html#requirements
sudo apt-get install libxml2-dev libxslt-dev
pip install --upgrade pip setuptools wheel
pip install -r requirements_test.txt
pip list --outdated
- run: make git
- shell: python
run: |
import inspect
import platform
for name, value in inspect.getmembers(platform):
if name[0] != "_" and callable(value):
try:
value = value()
except (IndexError, TypeError):
continue
if str(value).strip("(),' "):
print("{:>21}() = {}".format(name, value))
import sys
print(sys.platform, sys.version)