Skip to content

chore: add CLAUDE.md and fix repomix config #243

chore: add CLAUDE.md and fix repomix config

chore: add CLAUDE.md and fix repomix config #243

Workflow file for this run

name: CI
on:
push:
branches: [ "main" ]
pull_request:
types: [opened, synchronize, reopened]
concurrency:
group: ci-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
# Apply skip tokens only on push events. PR events do not provide
# a reliable head_commit message payload.
if: |
github.event_name != 'push' ||
(
!contains(github.event.head_commit.message, '[skip ci]') &&
!contains(github.event.head_commit.message, '[skip-release]')
)
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.10"
cache: 'pip'
cache-dependency-path: 'requirements.txt'
- name: Cache pip packages
uses: actions/cache@v4
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Install dependencies
run: |
python -m pip install --upgrade pip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
pip install pytest ruff
- name: Lint with Ruff
run: |
ruff check . --ignore C901,D417
continue-on-error: false
- name: Run tests
run: |
pytest -v --tb=short -m "not slow"
continue-on-error: false