ci: only run tests when source changes

This commit is contained in:
Daylin Morgan 2024-01-09 01:43:43 -06:00
parent 032e23af95
commit b822fe432c
Signed by: daylin
GPG key ID: C1E52E7DD81DF79F

View file

@ -2,9 +2,13 @@ name: 🧪 Run Tests
on: on:
pull_request: pull_request:
push:
workflow_call: workflow_call:
workflow_dispatch: workflow_dispatch:
push:
- paths:
- 'src/**/*.py'
- 'tests/**/*.py'
- 'pyproject.toml'
jobs: jobs:
run-tests: run-tests: