Skip to content

chore: fix prek run #144

chore: fix prek run

chore: fix prek run #144

Workflow file for this run

# SPDX-FileCopyrightText: 2024 German Aerospace Center (DLR) <https://dlr.de>
#
# SPDX-License-Identifier: MIT
name: Python tests (pytest)
on:
push:
branches:
- main
- develop
- releases/**
pull_request:
branches:
- main
- develop
permissions:
contents: read
jobs:
pytest:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@v6
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install uv
uses: astral-sh/setup-uv@v7
- name: Install Python dependencies
run: |
uv sync --group tests
- name: Test with pytest
run: |
uv run pytest