Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 8 additions & 13 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: CI Pipeline

on:
push:
branches: [ main, develop ]
branches: [ main ]
pull_request:
branches: [ main ]

Expand All @@ -13,25 +13,20 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install pytest

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.12'

- name: Run tests
run: |
pytest test.py -v

- name: Test Streamlit app startup
run: |
timeout 10s streamlit run app.py --headless --server.port 8501 || true
echo "Streamlit app startup test completed"

code-quality:
runs-on: ubuntu-latest

Expand All @@ -41,7 +36,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
python-version: '3.12'

- name: Install dependencies
run: |
Expand Down
Loading
Loading