Debian Codegraph @

.github/workflows/system.yaml

raw
1 name: System tests
2
3 on:
4 push:
5 branches: [ master ]
6 pull_request:
7 branches: [ master ]
8
9 jobs:
10 system_tests:
11 runs-on: ubuntu-latest
12
13 strategy:
14 matrix:
15 tox_target: [twisted-apidoc, cpython-summary, python-igraph-apidocs, cpython-apidocs, numpy-apidocs, git-buildpackage-apidocs, pytype-apidocs, temporalio-apidocs]
16
17 steps:
18 - uses: actions/checkout@v4
19
20 - name: Set up CPython
21 uses: actions/setup-python@v5
22 with:
23 python-version: '3.12'
24
25 - name: Install tox
26 run: |
27 python -m pip install --upgrade pip tox
28
29 - name: Log system information
30 run: |
31 test -r /etc/os-release && sh -c '. /etc/os-release && echo "OS: $PRETTY_NAME"'
32 python --version
33 python -c "print('\nENVIRONMENT VARIABLES\n=====================\n')"
34 python -c "import os; [print(f'{k}={v}') for k, v in os.environ.items()]"
35
36 - name: Generate API docs
37 run: |
38 tox -e ${{ matrix.tox_target }}
39