# Repo-spezifische CI-Konfiguration fuer CI-Build/ci-templates.
branches:
  dev: dev
  main: main

project:
  type: python

version:
  type: file
  file: VERSION

changelog:
  path: src/ccma/assets/CHANGELOG.json
  required_for_dev_pr: true
  no_changelog_markers: ["[no changelog]", "no changelog"]

python:
  binary: python3
  venv: .venv
  requirements: requirements.txt
  compile_path: src/ccma
  test_paths: ["tests"]
  check:
    ruff: true
    pytest: true
    extra_pip: ["ruff", "pytest"]

package:
  type: pyinstaller
  pyinstaller:
    spec: build/ccma.spec
  arch: amd64
  artifacts:
    linux:
      source: dist/ccma
      rename: ccma-{version}-linux-{arch}
    windows:
      source: dist/ccma.exe
      rename: ccma-{version}-windows-{arch}.exe

release:
  patch_markers: ["[patch]", "[hotfix]"]
