Files
OpenShell/build/test.toml
T
Alexander Watson 1d7909cb38 chore: add open-source compliance files and SPDX headers (#71)
Add Apache 2.0 licensing, SPDX copyright headers on all source files,
DCO enforcement, third-party notices, and CI enforcement.

- LICENSE: Apache License 2.0 full text
- DCO: Developer Certificate of Origin 1.1
- SPDX headers on all 176 source files (.rs, .py, .proto, .rego, .sh,
  .toml, .yaml, Dockerfiles)
- scripts/update_license_headers.py: header management with --check mode
- scripts/generate_third_party_notices.py: dependency license aggregation
- THIRD-PARTY-NOTICES: generated listing of all Rust and Python deps
- build/license.toml: mise tasks for license:check and license:update
- CI: license-headers job in checks.yml, DCO check workflow
- CONTRIBUTING.md: DCO sign-off requirement and license header docs
- Cargo.toml: license changed to Apache-2.0, repository URL updated
- pyproject.toml: license field added

Closes #58
2026-03-03 09:30:56 -08:00

40 lines
1.1 KiB
TOML

# SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
# Test tasks (Rust + Python)
[test]
description = "Run all tests (Rust + Python)"
depends = ["test:rust", "test:python"]
["test:rust"]
description = "Run Rust tests"
run = "cargo test --workspace"
["test:python"]
description = "Run Python tests"
depends = ["python:proto"]
env = { UV_NO_SYNC = "1" }
run = "uv run pytest python/"
["test:e2e:sandbox"]
description = "Run sandbox end-to-end tests"
depends = ["python:proto", "cluster:deploy"]
env = { UV_NO_SYNC = "1", PYTHONPATH = "python" }
run = "uv run pytest -o python_files='test_*.py' e2e/python"
["test:e2e:port-forward"]
description = "Run port-forward integration test"
depends = ["cluster:deploy"]
run = "bash e2e/bash/test_port_forward.sh"
["test:e2e:custom-image"]
description = "Run custom image build and sandbox e2e test"
depends = ["cluster:deploy"]
run = "bash e2e/bash/test_sandbox_custom_image.sh"
["test:e2e:sync"]
description = "Run sandbox file sync e2e test"
depends = ["cluster:deploy"]
run = "bash e2e/bash/test_sandbox_sync.sh"