Skip to content

Commit cf43ef2

Browse files
committed
Update AGENTS testing guidance
1 parent 28a0a6a commit cf43ef2

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

AGENTS.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
# Repository Instructions
22

33
## Running tests
4-
- **Julia tests**: Run from the project root with `julia -e 'using Pkg; Pkg.test()'`.
4+
- **Julia tests**: Run from the project root with `julia --project=@. -e 'using Pkg; Pkg.test()'`. Running without `--project=@.` fails because the global environment lacks the package name/UUID. Expect a warning about the General registry being unreachable in locked-down environments; the suite still finishes (PyCall tests are marked broken/Skipped).
55
- **Python tests**:
6-
- Copy `juliapkg-dev.json` to `juliapkg.json` before running (do **not** commit this copy).
7-
- Execute with `uv run pytest -s --nbval --cov=pysrc ./pytest`. Skip `--cov` unless coverage is required.
6+
- Copy `pysrc/juliacall/juliapkg-dev.json` to `pysrc/juliacall/juliapkg.json` before running (do **not** commit this copy).
7+
- Execute with `uv run pytest -s --nbval ./pytest` (add `--cov=pysrc` only when coverage is needed).
8+
- These tests currently require Julia 1.10–1.11. They failed here because `juliapkg` could not download metadata/install Julia through the proxy (tunnel 403) and the installed Julia 1.12.1 is outside the requested range. Without internet/proxy access to julialang.org, expect the suite to fail early while resolving Julia versions.
89

910
The majority of tests live in the Julia package; Python tests cover functionality that cannot be exercised from Julia (e.g., JuliaCall-specific behavior). Run both suites—typically Julia first—in whichever order makes sense.
11+
12+
## Meta instructions
13+
- When you discover environment quirks, false assumptions, or process fixes, add/update this AGENTS.md so future coding agents have the information.

0 commit comments

Comments
 (0)