diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..41180e8 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,19 @@ +name: Python package tests + +on: + push: + 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_app" + # 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']"