test: Limit tox execution

Only run tox when code changes.
This commit is contained in:
Jon Grace-Cox
2024-12-30 10:00:55 -05:00
parent 16c7eab136
commit 03a91dd6a5

View File

@@ -4,9 +4,19 @@ on:
push:
branches:
- master
paths:
- 'anybadge/**'
- 'tests/**'
- '.github/workflows/tox.yaml'
- 'tox.ini'
pull_request:
branches:
- master
paths:
- 'anybadge/**'
- 'tests/**'
- '.github/workflows/tox.yaml'
- 'tox.ini'
jobs:
test: