mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-13 10:26:53 +00:00
Skip running tests when there are no code or test changes (#948)
* Skip running tests when there are no code or test changes * Allow config file changes to trigger tests
This commit is contained in:
parent
2cb0fd1c4b
commit
416460e013
1 changed files with 21 additions and 1 deletions
22
.github/workflows/tests.yml
vendored
22
.github/workflows/tests.yml
vendored
|
|
@ -4,9 +4,29 @@ on:
|
|||
push:
|
||||
branches:
|
||||
- dev-3.x
|
||||
paths:
|
||||
- ".github/workflows/tests.yml"
|
||||
- "aiogram/**"
|
||||
- "tests/**"
|
||||
- ".coveragerc"
|
||||
- ".flake8"
|
||||
- "codecov.yaml"
|
||||
- "mypy.ini"
|
||||
- "poetry.lock"
|
||||
- "pyproject.toml"
|
||||
pull_request:
|
||||
branches:
|
||||
- dev-3.x
|
||||
paths:
|
||||
- ".github/workflows/tests.yml"
|
||||
- "aiogram/**"
|
||||
- "tests/**"
|
||||
- ".coveragerc"
|
||||
- ".flake8"
|
||||
- "codecov.yaml"
|
||||
- "mypy.ini"
|
||||
- "poetry.lock"
|
||||
- "pyproject.toml"
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
|
@ -24,7 +44,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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue