StrictDoc Documentation
.github/workflows/ci-linux-ubuntu-latest.yml
Source file coverage
Path:
.github/workflows/ci-linux-ubuntu-latest.yml
Lines:
56
Non-empty lines:
45
Non-empty lines covered with requirements:
45 / 45 (100.0%)
Functions:
0
Functions covered by requirements:
0 / 0 (0.0%)
1
#
2
# @relation(SDOC-SRS-9, scope=file)
3
#
4
 
5
name: "StrictDoc on Linux"
6
 
7
on:
8
  push:
9
    branches: [ "master" ]
10
  pull_request:
11
    branches: [ "**" ]
12
 
13
concurrency:
14
  group: ${{ github.workflow }}-${{ github.ref }}
15
  cancel-in-progress: true
16
 
17
jobs:
18
  build:
19
    runs-on: ubuntu-latest
20
 
21
    strategy:
22
      matrix:
23
        python-version: [
24
          "3.10", "3.12"
25
        ]
26
        itest_group: [ "main_group", "html2pdf_group" ]
27
 
28
    steps:
29
    - uses: actions/checkout@v6
30
      with:
31
        fetch-depth: 5
32
 
33
    - name: Set up Python ${{ matrix.python-version }}
34
      uses: actions/setup-python@v6
35
      with:
36
        python-version: ${{ matrix.python-version }}
37
 
38
    - name: Upgrade pip
39
      run: |
40
        python -m pip install --upgrade pip
41
 
42
    - name: Install minimal Python packages
43
      run: |
44
        pip install -r requirements.bootstrap.txt
45
 
46
    - name: Run Lint tasks
47
      run: |
48
        invoke lint
49
 
50
    - name: Run tests
51
      run: |
52
        if [ "${{ matrix.itest_group }}" = "html2pdf_group" ]; then
53
          invoke test-integration --html2pdf
54
        else
55
          invoke test
56
        fi