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
1 changed files with 5 additions and 1 deletions

View File

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