Skip to content

Divide up integration tests #1220

Divide up integration tests

Divide up integration tests #1220

Workflow file for this run

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-unit:
uses: openclimatefix/.github/.github/workflows/python-test.yml@issue/pip-all
with:
# pytest-cov looks at this folder
pytest_cov_dir: "quartz_solar_forecast"
os_list: '["ubuntu-latest"]'
python-version: "['3.11']"
extra_commands: echo "HF_TOKEN=${{ vars.HF_TOKEN }}" > .env
pytest_numcpus: '1'
test_dir: tests/unit
call-run-python-tests-all:

Check failure on line 24 in .github/workflows/pytest.yaml

View workflow run for this annotation

GitHub Actions / Python package tests

Invalid workflow file

The workflow is not valid. .github/workflows/pytest.yaml (Line: 24, Col: 5): Unexpected value 'call-run-python-tests-all'
# only run on push, not external PR
uses: openclimatefix/.github/.github/workflows/python-test.yml@issue/pip-all
if: github.event_name == 'push'
with:
# pytest-cov looks at this folder
pytest_cov_dir: "quartz_solar_forecast"
os_list: '["ubuntu-latest"]'
python-version: "['3.11']"
extra_commands: echo "HF_TOKEN=${{ vars.HF_TOKEN }}" > .env
pytest_numcpus: '1'
test_dir: tests