Closed 14Richa closed 4 months ago
Copy hook tests, for example - .github/workflows/pytest.yaml
name: Python package tests
on:
push:
pull_request:
types: [opened, synchronize, reopened]
schedule:
- cron: "0 12 * * 1"
pull_request_target:
types: [opened, synchronize, reopened, ready_for_review]
jobs:
call-run-python-tests:
uses: openclimatefix/.github/.github/workflows/python-test.yml@main
with:
# pytest-cov looks at this folder
pytest_cov_dir: "pyElexon"
python-version: "['3.10','3.11']"
Pull Request
Description
This pull request introduces a new class Datasets to interact with the Elexon API, specifically to fetch data from the ABUC and ABUC Stream datasets.
Fixes #7
Checklist: