Skip to content

feat: Phase D — RL integration (training, benchmark, visualization) #11

feat: Phase D — RL integration (training, benchmark, visualization)

feat: Phase D — RL integration (training, benchmark, visualization) #11

Workflow file for this run

name: Code Coverage
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install dependencies
run: |
cd python
pip install -e ".[rl,dev]"
pip install pytest-cov
- name: Run tests with coverage
run: |
cd python
python -m pytest tests/ --cov=opensmc --cov-report=xml --cov-report=term -v
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
files: python/coverage.xml
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: false