mirror of
https://github.com/DRYTRIX/TimeTracker.git
synced 2026-02-06 20:28:45 -06:00
Update CI workflow, app initialization, quotes route, and test files
This commit is contained in:
21
.github/workflows/ci.yml
vendored
21
.github/workflows/ci.yml
vendored
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user