Skip to content

Update README.md

Update README.md #45

Workflow file for this run

name: CI Pipeline
on:
push:
branches: [ webhook, github-actions, docker ]
pull_request:
branches: [ webhook ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install pytest
- name: Install Playwright browsers
run: |
python -m playwright install
- name: Start application
run: |
nohup python -m uvicorn app.main:app --host 0.0.0.0 --port 8181 &
sleep 10
- name: Check if server is running
run: |
curl -f http://localhost:8181/
- name: Run tests
run: |
python -m pytest tests/ -v