Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Also skip Pytest for PRs unless Python code is changed (#9508)

Patryk Zawadzki6a3922a077b2
diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml
index eeff70a9a6..cf172e3918 100644
--- a/.github/workflows/pytest.yml
+++ b/.github/workflows/pytest.yml
@@ -3,6 +3,12 @@ name: Pytest
on:
pull_request:
types: [opened, synchronize, reopened]
+ paths:
+ - "**.py"
+ - Dockerfile
+ - requirements_dev.txt
+ - "saleor/**"
+ - ".github/workflows/pytest.yml"
push:
branches:
- main