Skip to content

Generate requirements.txt from uv.lock to fix deployed Streamlit inst… #179

Generate requirements.txt from uv.lock to fix deployed Streamlit inst…

Generate requirements.txt from uv.lock to fix deployed Streamlit inst… #179

Workflow file for this run

name: Test
on:
push:
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version:
- "3.12.x"
steps:
- uses: actions/checkout@main
- name: Switch to current branch
run: git checkout ${{ env.BRANCH }}
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@main
with:
python-version: ${{ matrix.python-version }}
- name: Install uv
uses: astral-sh/setup-uv@main
- name: Install the project
run: uv sync --all-extras --dev
- name: Run tests with Pytest
run:
uv run coverage run --source=src/quant_trading_strategy_backtester -m
pytest -v
- name: Get code coverage report
run: uv run coverage report -m