Skip to content

Merge pull request #11 from predict-idlab/10-prevent_infinite_retry #25

Merge pull request #11 from predict-idlab/10-prevent_infinite_retry

Merge pull request #11 from predict-idlab/10-prevent_infinite_retry #25

Workflow file for this run

# Basic CI setup: Lint with ruff, run tests with pytest
name: Test
on:
pull_request:
push:
branches:
- main
jobs:
# Do not lint for now, as the code is not yet compliant
#lint:
# name: Lint
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4
# - uses: astral-sh/setup-uv@v3
# - name: Ruff lint
# run: uv run ruff check .
# - name: Ruff format
# run: uv run ruff format --diff .
# # This isn't a general Python lint, this style is just used in this repository
# - name: Prettier format
# run: npx prettier --prose-wrap always --check "**/*.md"
test:
name: Run tests
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v3
- run: uv run pytest