.github: add CI files and issue templates #8
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: "StrictDoc on Linux" | |
| on: | |
| pull_request: | |
| branches: [ "**" ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: [ | |
| "3.9", "3.12" | |
| ] | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - 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 Python packages | |
| run: | | |
| pip install -r requirements.development.txt | |
| - name: Clone HTML2PDF.js | |
| run: | | |
| invoke bootstrap | |
| env: | |
| GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Install HPDF dependencies. | |
| run: | | |
| python developer/pip_install_hpdf_deps.py | |
| - name: Run Lint tasks | |
| run: | | |
| invoke lint | |
| - name: Run tests | |
| run: | | |
| invoke test |