diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c94d78c24..eb250df4c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,11 +1,14 @@ - name: CI on: push: branches: - master + paths: + - "raven/**" pull_request: + paths: + - "raven/**" jobs: tests: @@ -42,7 +45,7 @@ jobs: - name: Setup Python uses: actions/setup-python@v4 with: - python-version: '3.10' + python-version: "3.10" - name: Setup Node uses: actions/setup-node@v3 @@ -88,7 +91,7 @@ jobs: bench --site test_site install-app raven bench build env: - CI: 'Yes' + CI: "Yes" - name: Run Tests working-directory: /home/runner/frappe-bench @@ -96,4 +99,4 @@ jobs: bench --site test_site set-config allow_tests true bench --site test_site run-tests --app raven env: - TYPE: server \ No newline at end of file + TYPE: server diff --git a/.github/workflows/linters.yml b/.github/workflows/linters.yml index 1e1dc04ed..f50f646e4 100644 --- a/.github/workflows/linters.yml +++ b/.github/workflows/linters.yml @@ -2,6 +2,8 @@ name: Linters on: pull_request: + paths: + - "raven/**" workflow_dispatch: push: branches: [main]