Using repo as an wrapper to LPN GitHub #26
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
| # GitHub actions workflow. | |
| # https://help.github.com/en/actions/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions | |
| name: Test CI | |
| on: | |
| push: | |
| branches: [lpn-launcher, main, repo-1, stable, maint] | |
| tags: [v*] | |
| jobs: | |
| test: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| # macos-15-intel is the last version that supports python 3.9 and 3.10 | |
| # os: [ubuntu-24.04, macos-15-intel, windows-2025] | |
| # disable macos and windows as long as we can not install help2man | |
| os: [ubuntu-24.04] | |
| python-version: ['3.9', '3.10', '3.11', '3.12', '3.13'] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install system requirements | |
| run: | | |
| sudo apt-get install -y help2man | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| python -m pip install tox tox-gh-actions | |
| - name: Test with tox | |
| run: tox |