Skip to content

fix: update CI workflow to install dev dependencies #7

fix: update CI workflow to install dev dependencies

fix: update CI workflow to install dev dependencies #7

Workflow file for this run

name: Python package tests

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

View workflow run for this annotation

GitHub Actions / .github/workflows/pytest.yaml

Invalid workflow file

Cannot define both `uses` and `steps` at the same time for the following jobs: call-run-python-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: "neso_solar_consumer"
os_list: '["ubuntu-latest"]'
python-version: "['3.11']"
pytest_numcpus: '1'
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install dependencies
run: pip install .[dev] # Install with dev dependencies