Skip to content

DM-45314: add workflow for pytest #17

DM-45314: add workflow for pytest

DM-45314: add workflow for pytest #17

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
name: Run PyTest
on: [push, pull_request]
jobs:
run_lint:
uses: lsst/rubin_workflows/.github/workflows/lint.yaml@main
run_pytest:
runs-on: ubuntu-latest
steps:
- name: Editable mode install
run: |
python -m pip install uv
uv pip install --system pytest
uv pip install --system -e .
- name: Test with pytest
run: |
pytest