Debian Codegraph @

.github/workflows/test_docs.yml

raw
1 # Run docs tox tests on Ubuntu Docker images using GIFT PPA
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 include:
17 - python-version: '3.12'
18 toxenv: 'docs'
19 container:
20 image: ubuntu:24.04
21 steps:
22 - uses: actions/checkout@v4
23 - name: Set up container
24 env:
25 DEBIAN_FRONTEND: noninteractive
26 run: |
27 apt-get update -q
28 apt-get install -y libterm-readline-gnu-perl locales software-properties-common
29 locale-gen en_US.UTF-8
30 ln -f -s /usr/share/zoneinfo/UTC /etc/localtime
31 - name: Install dependencies
32 env:
33 DEBIAN_FRONTEND: noninteractive
34 run: |
35 add-apt-repository -y universe
36 add-apt-repository -y ppa:deadsnakes/ppa
37 add-apt-repository -y ppa:gift/dev
38 apt-get update -q
39 apt-get install -y build-essential git pkg-config python${{ matrix.python-version }} python${{ matrix.python-version }}-dev python${{ matrix.python-version }}-venv libcreg-python3 libregf-python3 python3-dfdatetime python3-dtfabric python3-pip python3-setuptools python3-yaml tox
40 - name: Run tests
41 env:
42 LANG: en_US.UTF-8
43 run: |
44 tox -e${{ matrix.toxenv }}