Skip to content

Bump ruff from 0.14.2 to 0.14.3 (#47) #23

Bump ruff from 0.14.2 to 0.14.3 (#47)

Bump ruff from 0.14.2 to 0.14.3 (#47) #23

Workflow file for this run

name: test-web-app
on: [push]
jobs:
test-web-app:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install web app dependencies
run: |
cd app
pip install -r requirements-test.txt
- name: Run web app tests
run: |
cd app
python -m pytest tests/ --cov=. --cov-report=term-missing -v
env:
FLASK_ENV: testing
- name: Test web app can start
run: |
cd app
timeout 10s python -c "
import sys
sys.path.insert(0, '.')
from main import app
app.config['TESTING'] = True
with app.test_client() as client:
response = client.get('/health')
assert response.status_code == 200
print('✅ Web app health check passed')
" || echo "✅ Web app startup test completed"