Skip to content

backend/sdoc_source_code: reader_c: fix a small edge case related to code comments #2895

backend/sdoc_source_code: reader_c: fix a small edge case related to code comments

backend/sdoc_source_code: reader_c: fix a small edge case related to code comments #2895

Workflow file for this run

name: "StrictDoc on Windows"
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "**" ]
jobs:
build:
runs-on: windows-latest
strategy:
matrix:
python-version: ["3.12"]
steps:
- uses: actions/checkout@v3
- name: "Print Debug info"
run: |
echo $env:USERPROFILE
echo $env:PATH
echo "$PWD"
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
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: "Windows specific: Install StrictDoc's dependencies"
run: |
python developer/pip_install_strictdoc_deps.py
- name: "Windows specific: Install Check dependencies (everything for lint + test)"
run: |
pip install -r requirements.check.txt
- name: " Windows specific: Install Tidy via Chocolatey, and add it to $PATH"
shell: pwsh
run: |
choco install html-tidy -y
$tidyPath = (Get-ChildItem "C:\ProgramData\chocolatey\lib\html-tidy" -Recurse -Filter tidy.exe | Select-Object -First 1).DirectoryName
echo "$tidyPath" | Out-File -Append -Encoding ascii $env:GITHUB_PATH
- name: Run Lint tasks
run: |
invoke lint
- name: Run tests (Bash)
run: |
invoke test
shell: bash