mirror of
https://github.com/elder-plinius/OBLITERATUS.git
synced 2026-12-06 11:04:06 +01:00
Make the committed Nix test environment usable by others and by CI. - .github/workflows/nix-parity.yml installs Nix from the official release installer, pinned by version and SHA-256 (recorded in ci/digests.txt; the installer verifies the tarball hashes it embeds), checks the flake outputs and runs a parity smoke set on Python 3.12 and 3.13. Release-gate tests run only on 3.12, the release interpreter. It triggers on changes to the flake, lock, pyproject, .envrc or the workflow, and on dispatch; it is not a required check. - .envrc (`use flake`) loads the 3.12 shell for direnv users. - tests/test_nix_parity_policy.py keeps the flake's uv pin, CI extras, non-editable install and marker filter in step with ci.yml, and the workflow's action and installer pins in step with ci/digests.txt. - A nix-test-environment contract surface maps the flake, lock, .envrc, workflow and doc to that test. - docs/NIX_TEST_ENVIRONMENT.md gains direnv and CI sections; CONTRIBUTING and README point to the flake, and CONTRIBUTING's supported-interpreter line now matches pyproject (3.11+, CI and release on 3.11 and 3.12). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
3 lines
82 B
Bash
3 lines
82 B
Bash
# Loads the CI-equivalent Nix shell (see docs/NIX_TEST_ENVIRONMENT.md).
|
|
use flake
|