Skip to content

Bump the github-actions group with 5 updates #327

Bump the github-actions group with 5 updates

Bump the github-actions group with 5 updates #327

Workflow file for this run

name: Validate
on: [pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install ".[dev]"
- name: Check code formatting with black
run: |
python -m black --check featuremanagement
- name: Analysing the code with pylint
run: |
pylint featuremanagement
- name: Run mypy
run: |
mypy featuremanagement
- name: cspell-action
uses: streetsidesoftware/cspell-action@de2a73e963e7443969755b648a1008f77033c5b2 # v8.4.0
- name: Test with pytest
run: |
python -m pip install ".[test]"
pytest tests --doctest-modules --cov-report=xml --cov-report=html
- name: Analysing the samples with pylint
run: |
python -m pip install -r samples/requirements.txt
pylint --disable=missing-function-docstring,missing-class-docstring samples tests