Skip to content

Merge pull request #24 from dawidlinek/feat/15-min-frequency #85

Merge pull request #24 from dawidlinek/feat/15-min-frequency

Merge pull request #24 from dawidlinek/feat/15-min-frequency #85

Workflow file for this run

name: Tests
on:
pull_request:
branches: [ main ]
push:
branches: [ main ]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.10', '3.11', '3.12', '3.13', '3.14']
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e ".[dev]"
- name: Run tests
env:
ENTSOE_API_KEY: ${{ secrets.ENTSOE_API_KEY }}
run: |
pytest -m "not integration" --cov=epftoolbox2 --cov-report=xml --cov-report=term
- name: Upload coverage to Codecov
if: matrix.python-version == '3.11'
uses: codecov/codecov-action@v4
with:
file: ./coverage.xml
fail_ci_if_error: false