- flexmeasures-entsoe: ENTSO-E data plugin - flexmeasures-weather: Weather data plugin - USEF Flex Trading Protocol PDF (2.4MB) - Cariflex simulator (publishes to Redis) - Dashboard Grafana updated with correct InfluxDB queries - All tools extracted in /tools/
43 lines
1.0 KiB
YAML
43 lines
1.0 KiB
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
pull_request:
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
test:
|
|
name: "Python ${{ matrix.python-version }} / FlexMeasures ${{ matrix.flexmeasures.version }}"
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
python-version: ["3.10", "3.11", "3.12"]
|
|
flexmeasures:
|
|
- version: "0.31.*"
|
|
requirement: "flexmeasures==0.31.*"
|
|
- version: "0.32.*"
|
|
requirement: "flexmeasures==0.32.*"
|
|
- version: "latest"
|
|
requirement: "flexmeasures"
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Set up Python ${{ matrix.python-version }}
|
|
uses: actions/setup-python@v5
|
|
with:
|
|
python-version: ${{ matrix.python-version }}
|
|
|
|
- name: Install FlexMeasures compatibility target
|
|
run: |
|
|
python -m pip install --upgrade pip setuptools wheel
|
|
python -m pip install "${{ matrix.flexmeasures.requirement }}"
|
|
|
|
- name: Run tests
|
|
run: make test
|