Skip to content

TEST: Break installation_id lookup #189

TEST: Break installation_id lookup

TEST: Break installation_id lookup #189

Workflow file for this run

---
name: Lint and Test
on: push
permissions:
contents: read
jobs:
python:
name: Python
runs-on: ubuntu-24.04
strategy:
matrix:
py_version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
dependencies: ["constrained", "unconstrained"]
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- name: Install Poetry
run: pipx install poetry
- name: Enable Python ${{ matrix.py_version }}
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
with:
python-version: ${{ matrix.py_version }}
- name: Use Python ${{ matrix.py_version }} with Poetry
run: poetry env use python${{ matrix.py_version }}
- name: Poetry self-check
run: poetry check
- name: Install dependencies
run: poetry install
- name: Update dependencies
if: matrix.dependencies == 'unconstrained'
run: poetry update
- name: Check ruff formating
run: poetry run ruff format --diff hv4gha/ integration/ tests/
- name: Check ruff linting
run: poetry run ruff check hv4gha/ integration/ tests/
- name: Verify type hints
run: poetry run mypy --strict hv4gha/ integration/ tests/
- name: Run Pytest
run: poetry run pytest
secondary:
name: Secondary linting
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- name: Setup Secondary Linters
uses: andreaso/setup-secondary-linters@537e600c179acebb04008c58de2b20518ff54aa8 # v0.1
- name: Lint GitHub Actions workflows
run: actionlint
- name: Analyze GitHub Actions
run: zizmor --format=github .
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Lint integration testing Dockerfile
run: hadolint --ignore DL3013 integration/Dockerfile
- name: Markdown lint README
run: markdownlint --disable MD012 MD013 -- README.md