Files
free-steam-games-list/scripts/qodana.yaml
T
poli0981andClaude Opus 5.5 a956c8e182 ci(qodana): one workflow, interpreter, Rust build deps, Svelte via Docker
What the first runs showed, and the changes:

- Python: SDKs.json was empty - native mode finds no interpreter by
  itself, and without one every `dict[int, str]` and `X | None` was an
  "invalid type hint" (11 of the 50 problems). The job now builds .venv
  from the hashed requirements and passes QODANA_PYTHON_PATH.
- Rust: "Analysis scope: 0 packages" and a Critical "Cargo project
  loading" sanity problem: the image has no C linker and none of
  Tauri's libraries, and runs as the runner's user, who can neither
  apt-get install nor write the image's CARGO_HOME. Now `-u root`,
  CARGO_HOME in the cached Qodana cache dir, and a bootstrap that
  installs the build packages.
- JS/TS: installing the Svelte plugin fails in native mode with every
  released CLI up to 2026.2.3 ("qodana.build.date system property must
  be set"; fixed upstream as QD-16701 on 2026-11-05, unreleased), so
  this project runs in the Qodana image, on the node_modules and
  generated files the job prepared.

One workflow (qodana.yml) with a job per project, as in
free-games-itchio-list: the token check covers all three, triggers skip
data and Markdown-only commits, no PR comment (annotations, Qodana
Cloud and the report artifact carry the results), --repository-root .
for the subdirectory projects, and each job keeps its own cache keys.
The qodana.yaml files use `exclude` and name their Qodana Cloud project.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 08:54:28 +07:00

26 lines
955 B
YAML

# Qodana for Python: the data pipeline and its tests. Run by
# .github/workflows/qodana.yml (job `python`), reported to
# https://qodana.cloud/projects/P2R5k. The web app and the Tauri shell have
# their own projects: web/qodana.yaml and web/src-tauri/qodana.yaml.
#
# This directory is the project, not the repository root: every script and
# the tests put scripts/ on sys.path and import `core`, which resolves only
# when scripts/ is the content root.
version: "1.0"
linter: qodana-python
# Native mode: the runner's Python 3.15, with requirements.txt and
# requirements-test.txt in the virtual environment the job passes as
# QODANA_PYTHON_PATH.
withinDocker: false
profile:
name: qodana.recommended
exclude:
- name: All
paths:
# Data the jobs commit here, not code.
- removed_games.jsonl
- temp_info.jsonl
- dead_games.log
# The byte-exact blocklist golden file the tests compare against.
- tests/fixtures