Examples import SDK libraries (from un import execute_code, etc.) which aren't available in the sandbox. Instead of making examples standalone (which defeats the purpose), upload SDK source files via the API's input_files parameter and rewrite import paths to /tmp/input/. Changes: - validate-examples.sh: detect SDK src dir, base64-encode files into input_files JSON, rewrite Python/JS/Ruby/PHP import paths, pipe request body via stdin to avoid arg length limits - validate-examples.sh: add JUnit XML generation (science-results.xml) - .gitlab-ci.yml: remove allow_failure from science-validate-examples and validate-examples jobs - .gitignore: add science-results/ (CI artifacts, not source) - git rm science-results/ (committed "100% pass" was a lie)
49 lines
468 B
Text
49 lines
468 B
Text
# Compiled binaries
|
|
*.o
|
|
*.exe
|
|
*.out
|
|
*.class
|
|
*.beam
|
|
/un
|
|
/un_go
|
|
/un_rust
|
|
/un_cpp
|
|
/un_d
|
|
/un_nim
|
|
/un_v
|
|
/un_zig
|
|
/Un.class
|
|
|
|
__pycache__/
|
|
|
|
# Build directories
|
|
_build/
|
|
deps/
|
|
node_modules/
|
|
target/
|
|
zig-cache/
|
|
zig-out/
|
|
|
|
# IDE
|
|
.idea/
|
|
.vscode/
|
|
*.swp
|
|
*.swo
|
|
*~
|
|
|
|
# OS
|
|
.DS_Store
|
|
Thumbs.db
|
|
|
|
# Test outputs
|
|
*.log
|
|
/output/
|
|
__pycache__/
|
|
*.pyc
|
|
science-results/
|
|
science-results.xml
|
|
clients/c/un
|
|
clients/c/examples/fibonacci
|
|
clients/c/examples/hello_world
|
|
clients/c/tests/test_library
|
|
build/
|