mirror of
https://github.com/dogkeeper886/ollama37.git
synced 2025-12-22 05:37:01 +00:00
Add GitHub Actions CI/CD pipeline and test framework
- Add .github/workflows/build-test.yml for automated testing - Add tests/ directory with TypeScript test runner - Add docs/CICD.md documentation - Remove .gitlab-ci.yml (migrated to GitHub Actions) - Update .gitignore for test artifacts 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
31
tests/testcases/runtime/TC-RUNTIME-001.yml
Normal file
31
tests/testcases/runtime/TC-RUNTIME-001.yml
Normal file
@@ -0,0 +1,31 @@
|
||||
id: TC-RUNTIME-001
|
||||
name: Container Startup
|
||||
suite: runtime
|
||||
priority: 1
|
||||
timeout: 120000
|
||||
|
||||
dependencies:
|
||||
- TC-BUILD-002
|
||||
|
||||
steps:
|
||||
- name: Stop existing container
|
||||
command: cd docker && docker compose down 2>/dev/null || true
|
||||
|
||||
- name: Start container with GPU
|
||||
command: cd docker && docker compose up -d
|
||||
|
||||
- name: Wait for startup
|
||||
command: sleep 15
|
||||
|
||||
- name: Check container status
|
||||
command: cd docker && docker compose ps
|
||||
|
||||
criteria: |
|
||||
The ollama37 container should start successfully with GPU access.
|
||||
|
||||
Expected:
|
||||
- Container starts without errors
|
||||
- docker compose ps shows container in "Up" state
|
||||
- No "Exited" or "Restarting" status
|
||||
|
||||
Accept startup warnings. Container should be running.
|
||||
Reference in New Issue
Block a user