Security cleanup: Remove credentials, temp files, and deployment scripts #3
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Development Tests | |
| on: | |
| push: | |
| branches-ignore: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| workflow_dispatch: | |
| jobs: | |
| test: | |
| name: Run Tests and Linting | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: '3.11' | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '18' | |
| - name: Install Python dependencies | |
| run: | | |
| cd server | |
| pip install -r requirements.txt | |
| - name: Install Node.js dependencies | |
| run: | | |
| npm install | |
| - name: Run Python linting (if available) | |
| run: | | |
| cd server | |
| # Add your Python linting commands here if you have them | |
| # Example: flake8 . --max-line-length=120 | |
| echo "Python linting would run here" | |
| - name: Run JavaScript/Vue linting | |
| run: | | |
| # Add your frontend linting commands here if you have them | |
| # Example: npm run lint | |
| echo "Frontend linting would run here" | |
| - name: Build frontend | |
| run: | | |
| npm run build | |
| - name: Run tests (if available) | |
| run: | | |
| # Add your test commands here | |
| # Example: cd server && python -m pytest | |
| echo "Tests would run here" | |
| - name: Docker build test | |
| run: | | |
| # Test that the Docker image builds successfully | |
| docker build --platform linux/amd64 -t pythonide-test:latest . | |
| - name: Notify test results | |
| if: success() | |
| run: | | |
| echo "✅ All development checks passed!" | |
| echo "🔧 Branch: ${{ github.ref_name }}" | |
| echo "📝 Commit: ${{ github.sha }}" | |
| echo "🚫 No deployment to production (main branch only)" | |
| - name: Notify test failure | |
| if: failure() | |
| run: | | |
| echo "❌ Development checks failed!" | |
| echo "🔧 Fix issues before merging to main" |