File: doc.yml

package info (click to toggle)
dracut 106-6
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 4,708 kB
  • sloc: sh: 24,384; ansic: 4,704; makefile: 315; perl: 186; python: 28; javascript: 19
file content (39 lines) | stat: -rw-r--r-- 1,135 bytes parent folder | download | duplicates (2)
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
39
---
name: Doc Test

on:  # yamllint disable-line rule:truthy
    pull_request:
        branches: [main]
        paths:
            - 'man/**'

    # Allows you to run this workflow manually from the Actions tab
    workflow_dispatch:

jobs:
    doc:
        name: doc on ${{ matrix.container }}
        runs-on: ubuntu-latest
        timeout-minutes: 10
        concurrency:
            group: doc-${{ github.workflow }}-${{ github.ref }}-${{ matrix.container }}
            cancel-in-progress: true
        strategy:
            fail-fast: false
            matrix:
                container:
                    - alpine
                    - arch
                    - debian
                    - fedora
                    - gentoo
                    - opensuse
                    - ubuntu
                    - void
        container:
            image: ghcr.io/dracut-ng/${{ matrix.container }}
        steps:
            - name: "Checkout Repository"
              uses: actions/checkout@v4
            - name: doc on "${{ matrix.container }}"
              run: TARGETS=all enable_documentation=yes ./test/test-container.sh