Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .codex/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
sandbox_mode = "workspace-write"
approval_policy = "on-request"

[sandbox_workspace_write]
network_access = true
48 changes: 48 additions & 0 deletions .codex/environments/environment.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# THIS IS AUTOGENERATED. DO NOT EDIT MANUALLY
version = 1
name = "ctrlsys"

[setup]
script = '''
cd "$CODEX_WORKTREE_PATH"
uv venv .venv --python 3.11
uv pip install --python .venv/bin/python ".[test,dev]"
uv pip install --python .venv/bin/python .
'''

[cleanup]
script = '''
rm -rf .pytest_cache .mesonpy-* build build-* dist *.egg-info
find . -type d -name __pycache__ -prune -exec rm -rf {} +
'''

[[actions]]
name = "Rebuild"
icon = "tool"
command = "uv pip install ."

[[actions]]
name = "Smoke pytest"
icon = "test"
command = ".venv/bin/pytest tests/python/test_mb04ts.py -v"

[[actions]]
name = "Full pytest"
icon = "test"
command = ".venv/bin/pytest tests/python/ -n auto"

[[actions]]
name = "Translation checks"
icon = "test"
command = '''
scripts/check_translation_coverage.py --report-only
scripts/check_translation_smells.py
'''

[[actions]]
name = "ASAN Docker"
icon = "debug"
command = '''
docker build --platform linux/arm64 -t slicot-asan -f docker/Dockerfile.asan docker/
./scripts/run_asan_docker.sh --no-build
'''
Loading