Files
aitbc/.gitea/workflows/debug-test.yml
aitbc1 6f57f3e13a
Some checks failed
audit / audit (push) Has been skipped
ci-cd / build (push) Has been skipped
ci / build (push) Has been skipped
AITBC CLI Level 1 Commands Test / test-cli-level1 (18) (push) Has been skipped
AITBC CLI Level 1 Commands Test / test-cli-level1 (20) (push) Has been skipped
autofix / fix (push) Has been skipped
python-tests / test (push) Failing after 8s
python-tests / test-specific (push) Has been skipped
security-scanning / audit (push) Has been skipped
test / test (push) Has been skipped
ci-cd / deploy (push) Has been skipped
ci / deploy (push) Has been skipped
feat: disable all workflows except python-tests for focused development
WORKFLOW FOCUS: Disable all workflows to focus on python-tests development

Disabled workflows with 'if: false':
- audit.yml: Simple audit workflow
- ci.yml: Main CI pipeline
- ci-cd.yml: Complete CI/CD pipeline
- fix.yml: Code quality fixes
- security-scanning.yml: Security scanning
- cli-level1-tests.yml: CLI-specific testing
- test.yml: Basic testing
- debug-test.yml: Debug workflow

Active workflow:
- python-tests.yml: Comprehensive Python testing (NEW)

Benefits:
- Clean development environment
- No competing workflow runs
- Focus on python-tests workflow development
- Easy to re-enable when needed
- Reduced runner load

This allows focused development of the python-tests workflow
without interference from other workflows. All disabled workflows
can be easily re-enabled by removing 'if: false'.
2026-03-27 20:25:16 +01:00

50 lines
1.5 KiB
YAML

name: debug-test
on:
workflow_dispatch:
jobs:
debug:
runs-on: debian
if: false
steps:
- name: Ultimate debug - show everything
run: |
echo "=== ULTIMATE DEBUG ==="
echo "Current working directory: $(pwd)"
echo "User: $(whoami)"
echo "Home: $HOME"
echo "Node version: $(node --version)"
echo "NPM version: $(npm --version)"
echo "=== FORCE ABSOLUTE WORKSPACE ==="
rm -rf /opt/gitea-runner/workspace
mkdir -p /opt/gitea-runner/workspace
cd /opt/gitea-runner/workspace
echo "Workspace directory: $(pwd)"
echo "Cloning repository..."
git clone https://gitea.bubuit.net/oib/aitbc.git repo || echo "Clone failed"
if [ -d "repo" ]; then
cd repo
echo "Repo directory: $(pwd)"
echo "Files in repo:"
ls -la
if [ -f "package.json" ]; then
echo "✅ FOUND package.json!"
echo "Package.json content:"
head -10 package.json
echo "=== ATTEMPTING NPM INSTALL ==="
npm install --legacy-peer-deps
echo "✅ NPM INSTALL COMPLETED!"
else
echo "❌ NO package.json found!"
find . -name "package.json" 2>/dev/null || echo "No package.json anywhere"
fi
else
echo "❌ Clone failed - no repo directory"
fi