Skip to content

Merge pull request #6 from fabiobove-dr/develop #3

Merge pull request #6 from fabiobove-dr/develop

Merge pull request #6 from fabiobove-dr/develop #3

Workflow file for this run

name: Unit Tests
on:
push:
branches:
- main
jobs:
test:
name: Run tests and collect coverage
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Install dependencies (pip)
run: |
python -m pip install --upgrade pip
# Install main dependencies
pip install -e .
# Install testing dependencies explicitly
pip install .[test]
- name: Run tests
run: pytest --cov --cov-report=xml
- name: Upload results to Codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}