Skip running tests when there are no code or test changes

This commit is contained in:
evgfilim1 2022-06-26 14:02:37 +05:00
parent 247ffbef69
commit 033bd82c0c
No known key found for this signature in database
GPG key ID: D9F91B9DC64683A2

View file

@ -4,9 +4,17 @@ on:
push:
branches:
- dev-3.x
paths:
- "aiogram/**"
- "tests/**"
- ".github/workflows/tests.yml"
pull_request:
branches:
- dev-3.x
paths:
- "aiogram/**"
- "tests/**"
- ".github/workflows/tests.yml"
jobs:
build:
@ -24,7 +32,7 @@ jobs:
- '3.10'
defaults:
# Windows is sucks. Force use bash instead of PowerShell
# Windows sucks. Force use bash instead of PowerShell
run:
shell: bash