Skip to content

Add ability to render git information in metadata fields for html2pdf #3263

Add ability to render git information in metadata fields for html2pdf

Add ability to render git information in metadata fields for html2pdf #3263

#
# @relation(SDOC-SRS-9, scope=file)
#
name: "StrictDoc on Linux"
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "**" ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [
"3.9", "3.12"
]
itest_group: [ "main_group", "html2pdf_group" ]
steps:
- uses: actions/checkout@v6
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
- name: Upgrade pip
run: |
python -m pip install --upgrade pip
- name: Install minimal Python packages
run: |
pip install -r requirements.bootstrap.txt
- name: Run Lint tasks
run: |
invoke lint
- name: Run tests
run: |
if [ "${{ matrix.itest_group }}" = "html2pdf_group" ]; then
invoke test-integration --html2pdf
else
invoke test
fi