Skip to content

fix: model negative FCF investment cycles #18

fix: model negative FCF investment cycles

fix: model negative FCF investment cycles #18

Workflow file for this run

name: tests
on:
push:
pull_request:
workflow_dispatch:
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 30
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.11", "3.13"]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: pip
- run: python -m pip install --upgrade pip
- run: python -m pip install -e ".[dev]"
- run: python -m compileall -q app.py server.py equity_research scripts
- run: ruff check app.py server.py equity_research scripts tests
- run: python -m pytest -q
- run: python scripts/run_benchmark.py
streamlit-smoke:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.11"
cache: pip
- run: python -m pip install -e ".[dev]"
- name: Start Streamlit and wait for health
run: |
streamlit run app.py --server.headless=true --server.port=8501 > /tmp/ic-copilot.log 2>&1 &
for attempt in {1..30}; do
if curl --fail --silent http://127.0.0.1:8501/_stcore/health; then
exit 0
fi
sleep 1
done
cat /tmp/ic-copilot.log
exit 1