Skip to content

Commit

Permalink
added testing workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
reckt32 committed Feb 18, 2025
1 parent bc8aadd commit e75431d
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/pytest.yaml
Original file line number Diff line number Diff line change
@@ -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'

0 comments on commit e75431d

Please sign in to comment.