Debian Codegraph @

.github/workflows/test_docs.yml

raw
1 # Run docs tox tests on Ubuntu Docker images using the deadsnakes and GIFT PPAs
2 name: test_docs
3 on:
4 pull_request:
5 branches:
6 - main
7 push:
8 branches:
9 - main
10 permissions: read-all
11 jobs:
12 build:
13 runs-on: ubuntu-latest
14 strategy:
15 matrix:
16 python-version: ['3.14']
17 container:
18 image: ubuntu:26.04
19 steps:
20 - uses: actions/checkout@v6
21 - name: Set up container
22 env:
23 DEBIAN_FRONTEND: noninteractive
24 run: |
25 apt update -q
26 apt install -y libterm-readline-gnu-perl locales software-properties-common
27 locale-gen en_US.UTF-8
28 ln -f -s /usr/share/zoneinfo/UTC /etc/localtime
29 - name: Install dependencies
30 env:
31 DEBIAN_FRONTEND: noninteractive
32 run: |
33 add-apt-repository -y universe
34 add-apt-repository -y ppa:deadsnakes/ppa
35 add-apt-repository -y ppa:gift/dev
36 apt update -q
37 apt install -y build-essential git pkg-config python${{ matrix.python-version }} python${{ matrix.python-version }}-dev python${{ matrix.python-version }}-venv python3-pip python3-setuptools tox
38 - name: Run tests
39 env:
40 LANG: en_US.UTF-8
41 run: |
42 tox -e docs