# Test interpreters — developer and CI test runs only. # # Not part of the package: the package creates one pixi workspace per # `pixi-workspace` node under ~/.node-red-pixi/workspaces, and never reads # this file. It pins the interpreters the suite runs on, so python/tests and the # mocha specs that spawn the worker use the same Python everywhere instead of # whatever `python3` happens to be on PATH. Always invoked with an explicit # --manifest-path by test/helpers/python-interpreter.js, so the current # directory does not matter. # # pixi run --manifest-path test/pixi.toml -e py314 python -m unittest discover -s python/tests # NRPYRUN_TEST_PYTHON_ENV=py312 npm test # # Linux only: the suite runs in the development container (see compose.yml), and # Linux is the primary target of the package. Off Linux, run the Python tests # with NRPYRUN_TEST_PYTHON=. [workspace] name = "node-red-pixi-tasks-tests" channels = ["conda-forge"] platforms = ["linux-64"] [feature.py312.dependencies] python = "3.12.*" [feature.py314.dependencies] python = "3.14.*" [feature.py315.dependencies] python = "3.15.*" [environments] default = ["py314"] py312 = ["py312"] py314 = ["py314"] py315 = ["py315"]