Update geographical coordinates in .env.example #6
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: Balkonkraftwerk CI | |
| # Wann soll die Action laufen? Bei jedem Push auf den main-Branch | |
| on: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| test-code: | |
| runs-on: ubuntu-latest | |
| steps: | |
| # 1. Holt deinen Code von GitHub in den Test-Server | |
| - name: Code auschecken | |
| uses: actions/checkout@v4 | |
| # 2. Installiert Python 3.11 | |
| - name: Python einrichten | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.11' | |
| cache: 'pip' # Macht zukünftige Durchläufe viel schneller! | |
| # 3. Installiert deine requirements.txt | |
| - name: Abhängigkeiten installieren | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install -r requirements.txt | |
| # 4. Ein einfacher Syntax-Check (kompiliert die app.py testweise) | |
| - name: Python Syntax Check | |
| run: | | |
| python -m py_compile app.py |