Fixed synchronization between the mobile app and the web version. #14
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: Cloud Notes Continuous Integration | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| env: | |
| # CI uses isolated non-production values and never requires a committed .env file. | |
| DOMAIN: localhost | |
| POSTGRES_USER: ci_user | |
| POSTGRES_PASSWORD: ci_password | |
| POSTGRES_DB: cloud_notes_ci | |
| JWT_SECRET_KEY: ci-only-secret-key-not-used-in-production | |
| COOKIE_SECURE: "false" | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Set up Python 3.11 | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.11' | |
| - name: Install Linting Tools | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install flake8 | |
| - name: Lint with flake8 | |
| run: | | |
| # stop the build if there are Python syntax errors or undefined names | |
| flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics | |
| - name: Validate Docker Compose | |
| run: docker compose config --quiet | |
| - name: Test Docker Builds | |
| run: | | |
| docker compose build server frontend |