From e75431d46e29b6c71c090d885e246d6e955bd9de Mon Sep 17 00:00:00 2001 From: reckt32 Date: Tue, 18 Feb 2025 22:01:48 +0530 Subject: [PATCH] added testing workflow --- .github/workflows/pytest.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/pytest.yaml diff --git a/.github/workflows/pytest.yaml b/.github/workflows/pytest.yaml new file mode 100644 index 0000000..6ff26a8 --- /dev/null +++ b/.github/workflows/pytest.yaml @@ -0,0 +1,19 @@ +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@issue/pip-all + with: + # pytest-cov looks at this folder + pytest_cov_dir: "src/open_data_pvnet" + os_list: '["ubuntu-latest"]' + python-version: "['3.11']" + pytest_numcpus: '1' \ No newline at end of file