feat: persistent in-app notification system #90
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: Test | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| concurrency: | |
| group: test-${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v5 | |
| with: | |
| version: "latest" | |
| enable-cache: true | |
| - name: Set up Python | |
| run: uv python install 3.12 | |
| - name: Install dependencies | |
| run: uv sync | |
| - name: Ruff Lint | |
| run: uv run ruff check . | |
| - name: Ruff Format Check | |
| run: uv run ruff format --check . | |
| - name: Run tests | |
| env: | |
| PROJECT_NAME: "FastAPI Template Test" | |
| POSTGRES_SERVER: "localhost" | |
| POSTGRES_USER: ${{ secrets.POSTGRES_USER || 'postgres' }} | |
| POSTGRES_PASSWORD: ${{ secrets.POSTGRES_PASSWORD || 'testpassword' }} | |
| FIRST_SUPERUSER: ${{ secrets.FIRST_SUPERUSER || 'admin@example.com' }} | |
| FIRST_SUPERUSER_PASSWORD: ${{ secrets.FIRST_SUPERUSER_PASSWORD || 'testpassword' }} | |
| run: uv run pytest |