From 50a69c3583628c86345604e5709dff0a9ad2e5d1 Mon Sep 17 00:00:00 2001 From: Karim shoair Date: Sat, 28 Feb 2026 16:45:26 +0200 Subject: [PATCH] ops: update workflows triggers and pinning playwright version here too --- .github/workflows/code-quality.yml | 4 ++++ .github/workflows/tests.yml | 19 ++++++++++++++++--- tests/requirements.txt | 2 +- 3 files changed, 21 insertions(+), 4 deletions(-) diff --git a/.github/workflows/code-quality.yml b/.github/workflows/code-quality.yml index 5c32328..320bc88 100644 --- a/.github/workflows/code-quality.yml +++ b/.github/workflows/code-quality.yml @@ -21,6 +21,10 @@ on: - '**/*.md' - 'docs/**' - 'images/**' + - '.github/**' + - '*.yml' + - '*.yaml' + - 'ruff.toml' workflow_dispatch: # Allow manual triggering concurrency: diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 75d6ab1..d18c2d3 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -7,9 +7,22 @@ on: paths-ignore: - '*.md' - '**/*.md' - - 'docs/*' - - 'images/*' - - '.github/*' + - 'docs/**' + - 'images/**' + - '.github/**' + - '*.yml' + - '*.yaml' + - 'ruff.toml' + pull_request: + branches: + - main + - dev + paths-ignore: + - '*.md' + - '**/*.md' + - 'docs/**' + - 'images/**' + - '.github/**' - '*.yml' - '*.yaml' - 'ruff.toml' diff --git a/tests/requirements.txt b/tests/requirements.txt index 7e9a957..07e287c 100644 --- a/tests/requirements.txt +++ b/tests/requirements.txt @@ -1,6 +1,6 @@ pytest>=2.8.0,<9 pytest-cov -playwright +playwright==1.56.0 werkzeug<3.0.0 pytest-httpbin==2.1.0 pytest-asyncio