Bump JamesIves/github-pages-deploy-action from 4.8.0 to 4.9.0 #976
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: Tox tests | |
| on: [push, pull_request] | |
| jobs: | |
| linting: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - name: Install OS packages | |
| run: | | |
| sudo apt-get -y update | |
| sudo apt-get install -y rpm libkrb5-dev | |
| - name: Setup Python | |
| uses: actions/setup-python@v7 | |
| with: | |
| python-version: "3.10" | |
| - name: Install Tox | |
| run: pip install tox | |
| - name: Run Linting | |
| run: tox -e lint | |
| mypy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - name: Install OS packages | |
| run: | | |
| sudo apt-get -y update | |
| sudo apt-get install -y rpm libkrb5-dev | |
| - name: Setup Python | |
| uses: actions/setup-python@v7 | |
| with: | |
| python-version: "3.10" | |
| - name: Install Tox | |
| run: pip install tox | |
| - name: Run MyPy | |
| run: tox -e mypy | |
| unit-tests: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| # https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json | |
| python-version: ["3.10", "3.11", "3.12", "3.13"] | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v7 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install OS packages | |
| run: | | |
| sudo apt-get -y update | |
| sudo apt-get install -y rpm libkrb5-dev | |
| - name: Install Tox | |
| run: pip install tox | |
| - name: Test on ${{ matrix.python-version }} | |
| run: | | |
| PY_VER=${{ matrix.python-version }} | |
| tox -e "py${PY_VER//./}" | |
| coverage: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - name: Install OS packages | |
| run: | | |
| sudo apt-get -y update | |
| sudo apt-get install -y rpm libkrb5-dev | |
| - name: Setup Python | |
| uses: actions/setup-python@v7 | |
| with: | |
| python-version: "3.10" | |
| - name: Install Tox | |
| run: pip install tox | |
| - name: Run Tox | |
| run: tox -e coverage | |
| security: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - name: Install OS packages | |
| run: | | |
| sudo apt-get -y update | |
| sudo apt-get install -y rpm libkrb5-dev | |
| - name: Setup Python | |
| uses: actions/setup-python@v7 | |
| with: | |
| python-version: "3.10" | |
| - name: Install Tox | |
| run: pip install tox | |
| - name: Run Tox | |
| run: tox -e security | |
| - name: Install project | |
| run: python -m pip install . | |
| - name: Run pip-audit | |
| uses: pypa/gh-action-pip-audit@v1.1.0 | |
| with: | |
| inputs: requirements.txt requirements-test.txt | |
| docs: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - name: Install OS packages | |
| run: | | |
| sudo apt-get -y update | |
| sudo apt-get install -y rpm libkrb5-dev | |
| - name: Setup Python | |
| uses: actions/setup-python@v7 | |
| with: | |
| python-version: "3.10" | |
| - name: Install Tox | |
| run: pip install tox | |
| - name: Run Tox | |
| run: tox -e docs | |