Skip to content

Update Codecov workflow for Python setup and coverage #8

Update Codecov workflow for Python setup and coverage

Update Codecov workflow for Python setup and coverage #8

Workflow file for this run

name: Codecov
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.14'
- name: Install dependencies
run: pip install -r requirements.txt pytest-cov
- name: Run tests with coverage
run: pytest --cov=rocketpy --cov-report=xml
- name: Upload coverage
uses: codecov/codecov-action@v4