[pre-commit.ci] auto fixes from pre-commit.com hooks #1098
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: 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]'" |