Skip to content

Commit

Permalink
chore: do not run Frappe GH actions on mobile or web paths
Browse files Browse the repository at this point in the history
  • Loading branch information
nikkothari22 committed Dec 18, 2024
1 parent d75290d commit 1744540
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 24 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@

name: CI

on:
push:
branches:
- master
paths:
- "raven/**"
pull_request:

jobs:
Expand Down Expand Up @@ -42,7 +43,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
Expand Down Expand Up @@ -88,12 +89,12 @@ jobs:
bench --site test_site install-app raven
bench build
env:
CI: 'Yes'
CI: "Yes"

- name: Run Tests
working-directory: /home/runner/frappe-bench
run: |
bench --site test_site set-config allow_tests true
bench --site test_site run-tests --app raven
env:
TYPE: server
TYPE: server
20 changes: 0 additions & 20 deletions .github/workflows/labeler.yml

This file was deleted.

2 changes: 2 additions & 0 deletions .github/workflows/linters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:
workflow_dispatch:
push:
branches: [main]
paths:
- "raven/**"

jobs:
linters:
Expand Down

0 comments on commit 1744540

Please sign in to comment.