Update CI workflow, app initialization, quotes route, and test files

This commit is contained in:
Dries Peeters
2025-11-29 07:39:29 +01:00
parent 0094428b72
commit 149a4bb4c8
6 changed files with 25 additions and 15 deletions

View File

@@ -1,9 +1,12 @@
name: CI/CD Pipeline
# DISABLED: This workflow is disabled in favor of the Comprehensive CI Pipeline (ci-comprehensive.yml)
# Only the Comprehensive CI Pipeline should run for all CI/CD operations
on:
pull_request:
branches: [ main ]
types: [ opened, synchronize, reopened, ready_for_review ]
workflow_dispatch: # Only allows manual trigger, effectively disabling automatic runs
# pull_request:
# branches: [ main ]
# types: [ opened, synchronize, reopened, ready_for_review ]
env:
PYTHON_VERSION: '3.11'
@@ -13,7 +16,8 @@ jobs:
lint:
name: Lint and Code Quality
runs-on: ubuntu-latest
if: github.event.pull_request.head.ref == 'rc' || startsWith(github.event.pull_request.head.ref, 'rc/')
if: false # DISABLED: This workflow is disabled in favor of ci-comprehensive.yml
# if: github.event.pull_request.head.ref == 'rc' || startsWith(github.event.pull_request.head.ref, 'rc/')
steps:
- uses: actions/checkout@v4
@@ -49,7 +53,8 @@ jobs:
test:
name: Test Suite
runs-on: ubuntu-latest
if: github.event.pull_request.head.ref == 'rc' || startsWith(github.event.pull_request.head.ref, 'rc/')
if: false # DISABLED: This workflow is disabled in favor of ci-comprehensive.yml
# if: github.event.pull_request.head.ref == 'rc' || startsWith(github.event.pull_request.head.ref, 'rc/')
services:
postgres:
@@ -105,7 +110,8 @@ jobs:
security:
name: Security Scan
runs-on: ubuntu-latest
if: github.event.pull_request.head.ref == 'rc' || startsWith(github.event.pull_request.head.ref, 'rc/')
if: false # DISABLED: This workflow is disabled in favor of ci-comprehensive.yml
# if: github.event.pull_request.head.ref == 'rc' || startsWith(github.event.pull_request.head.ref, 'rc/')
steps:
- uses: actions/checkout@v4
@@ -135,7 +141,8 @@ jobs:
name: Docker Build
runs-on: ubuntu-latest
needs: [lint, test]
if: github.event_name == 'push'
if: false # DISABLED: This workflow is disabled in favor of ci-comprehensive.yml
# if: github.event_name == 'push'
steps:
- uses: actions/checkout@v4