Skip to content

Commit 91b7a88

Browse files
committed
docs: list the browser and sandbox CI jobs and where .env comes from
CONTRIBUTING.md still said CI runs two jobs. The schema's project.env said the starter's .env holds the same lines, from before cstudy wrote .env itself.
1 parent b9f9302 commit 91b7a88

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎CONTRIBUTING.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Run the CLI checks from `cli/`; its tool settings live there (`ruff.toml`, `pyri
4646
| JVM tests | `uv run pytest -q -m jvm` (the `slow` tests that drive Gradle, javac, kotlinc or a JVM runner on the JDK your shell selects) |
4747
| All tests | `uv run pytest -q` (the `slow` tests drive real Gradle, Node, tsc and a workspace venv in a temporary workspace) |
4848

49-
CI runs two jobs on Linux for every push to a branch and every pull request ([versioning](docs/specs/versioning.md#what-the-workflow-does)). The fast checks are the first six rows, plus `cstudy verify --static`. The JVM job runs the JVM tests and `cstudy verify --conformance` for `--lang java` and for `--lang kotlin`, on JDK 21 and on JDK 26, the two ends of the supported range. The other `slow` tests stay a local gate. A test belongs to the JVM job when it carries the `jvm` marker, together with `slow`: mark a new test that drives the JVM the same way, and a row of a test over every language with `jvm_marked` from `cli/tests/toolchains.py`.
49+
CI runs on Linux for every push to a branch and every pull request ([versioning](docs/specs/versioning.md#what-the-workflow-does)). The fast checks are the first six rows, plus `cstudy verify --static`. The JVM job runs the JVM tests and `cstudy verify --conformance` for `--lang java` and for `--lang kotlin`, on JDK 21 and on JDK 26, the two ends of the supported range. Two more jobs run only when the `changes` job finds that the diff can affect them: the browser tests on Chromium, and the `sandbox` job, `pytest -m docker` on a real Docker engine. The other `slow` tests, and `cstudy verify` of a catalog service project over real stacks, stay a local gate. A test belongs to the JVM job when it carries the `jvm` marker, together with `slow`: mark a new test that drives the JVM the same way, and a row of a test over every language with `jvm_marked` from `cli/tests/toolchains.py`.
5050

5151
Changes to content, runners or code generation also need `cstudy verify` (with `CSTUDY_WORKSPACE` set):
5252

‎schemas/meta.schema.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -494,7 +494,7 @@
494494
"mem_limit": { "description": "The app container's memory limit, such as 512m", "type": "string", "pattern": "^[0-9]+[mg]$" }
495495
}
496496
},
497-
"env": { "description": "The whole environment of the app; the starter's .env holds the same lines", "$ref": "#/$defs/environment" },
497+
"env": { "description": "The whole environment of the app; cstudy writes it into the project folder's .env", "$ref": "#/$defs/environment" },
498498
"install_env": { "description": "What the package manager needs in its install container, such as where its cache is", "$ref": "#/$defs/environment" },
499499
"mocks": {
500500
"type": "array",

0 commit comments

Comments
 (0)