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
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'.
50 lines
1.4 KiB
YAML
50 lines
1.4 KiB
YAML
name: test
|
|
|
|
on:
|
|
push:
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: debian
|
|
if: false
|
|
|
|
steps:
|
|
- name: Nuclear fix - absolute path control
|
|
run: |
|
|
echo "=== NUCLEAR FIX ==="
|
|
echo "Current PWD: $(pwd)"
|
|
echo "Forcing absolute workspace path..."
|
|
|
|
# Clean and create absolute workspace
|
|
rm -rf /opt/gitea-runner/workspace
|
|
mkdir -p /opt/gitea-runner/workspace
|
|
cd /opt/gitea-runner/workspace
|
|
|
|
echo "Workspace PWD: $(pwd)"
|
|
echo "Cloning repository..."
|
|
git clone https://gitea.bubuit.net/oib/aitbc.git repo
|
|
|
|
cd repo
|
|
echo "Repo PWD: $(pwd)"
|
|
echo "Files in repo:"
|
|
ls -la
|
|
|
|
echo "=== PACKAGE.JSON CHECK ==="
|
|
if [ -f "package.json" ]; then
|
|
echo "✅ package.json found!"
|
|
cat package.json | head -5
|
|
echo "=== NPM INSTALL ==="
|
|
npm install --legacy-peer-deps
|
|
echo "✅ npm install completed!"
|
|
else
|
|
echo "❌ package.json NOT found!"
|
|
echo "Current directory contents:"
|
|
find . -name "package.json" 2>/dev/null || echo "No package.json found anywhere"
|
|
fi
|
|
|
|
echo "=== RUNNER INFO ==="
|
|
hostname
|
|
whoami
|
|
echo "Final PWD: $(pwd)"
|