Skip to content

Python package tests #9

Python package tests

Python package tests #9

Workflow file for this run

name: Python package tests
on:
push:
pull_request:
types: [opened, reopened]
schedule:
- cron: "0 12 * * 1"
jobs:
call-run-python-tests:
uses: openclimatefix/.github/.github/workflows/python-test.yml@main
with:
# 0 means don't use pytest-xdist
pytest_numcpus: "4"
# pytest-cov looks at this folder
pytest_cov_dir: "pvnet"
# extra things to install
sudo_apt_install: "libgeos++-dev libproj-dev proj-data proj-bin"
# brew_install: "proj geos librttopo"
os_list: '["ubuntu-latest"]'
python-version: "['3.10', '3.11']"
extra_commands: "pip3 install -e '.[all]'"