-
Notifications
You must be signed in to change notification settings - Fork 51
39 lines (30 loc) · 972 Bytes
/
system.yaml
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
38
name: System tests
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
system_tests:
runs-on: ubuntu-latest
strategy:
matrix:
tox_target: [twisted-apidoc, cpython-summary, python-igraph-apidocs, cpython-apidocs, numpy-apidocs, git-buildpackage-apidocs, pytype-apidocs]
steps:
- uses: actions/checkout@v4
- name: Set up CPython
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install tox
run: |
python -m pip install --upgrade pip tox
- name: Log system information
run: |
test -r /etc/os-release && sh -c '. /etc/os-release && echo "OS: $PRETTY_NAME"'
python --version
python -c "print('\nENVIRONMENT VARIABLES\n=====================\n')"
python -c "import os; [print(f'{k}={v}') for k, v in os.environ.items()]"
- name: Generate API docs
run: |
tox -e ${{ matrix.tox_target }}