[FEAT] : CI/CD 파이프라인 설정 추가 및 보안 검사 단계 구현

This commit is contained in:
imnyang 2025-06-09 22:14:03 +09:00
commit 31ca96f037

44
.github/workflows/ci.yml vendored Normal file
View file

@ -0,0 +1,44 @@
name: CI/CD Pipeline
on:
push:
branches: [main, develop]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.13]
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v4
with:
enable-cache: true
cache-dependency-glob: "uv.lock"
- name: Set up Python ${{ matrix.python-version }}
run: uv python install ${{ matrix.python-version }}
- name: Install dependencies
run: uv sync
- name: Start application and run proxy test
run: |
# Start the application in background
uv run main.py &
APP_PID=$!
# Wait for application to start
sleep 5
# Test proxy functionality
curl -x http://localhost:11080 http://example.com
# Clean up
kill $APP_PID