fix for horizon and read_renewables to return empty list if input mis… #613
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: | |
- "**" | |
jobs: | |
ci: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
max-parallel: 9 | |
matrix: | |
os: [ windows-latest, ubuntu-20.04, ubuntu-22.04 ] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.11 | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install tox~=4.21.2 | |
pip install tox-uv~=1.11.3 | |
- name: Performs Ubuntu tests | |
if: matrix.os != 'windows-latest' | |
run: | | |
tox -e lint-ci | |
tox -p | |
- name: Performs Windows tests | |
if: matrix.os == 'windows-latest' | |
run: tox -e 3.9-test |