Skip to content

Commit

Permalink
fix: running all test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
Sanket322 committed Aug 22, 2024
1 parent 111cbd3 commit 1a3e3f4
Show file tree
Hide file tree
Showing 7 changed files with 26 additions and 5 deletions.
6 changes: 4 additions & 2 deletions .github/helper/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ sed -i 's/redis_socketio:/# redis_socketio:/g' Procfile

bench get-app erpnext --branch "$BRANCH_TO_CLONE" --resolve-deps

if [ "$RUN_RESTORE" == "false" ]; then
if [ "${RUN_RESTORE:-false}" == "true" ]; then
bench --site test_site restore ${GITHUB_WORKSPACE}/20240822_162707-a1_localhost-database.sql.gz
fi

Expand All @@ -71,7 +71,9 @@ wait $wkpid

bench use test_site
bench start &
# bench reinstall --yes
# if [ "${RUN_RESTORE:-false}" == "false" ]; then
# bench reinstall --yes
# fi

bench --verbose install-app india_compliance
bench --site test_site add-to-hosts
6 changes: 6 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ name: "CodeQL"

on:
workflow_call:
pull_request:
paths-ignore:
- "**.css"
- "**.md"
- "**.html"
- "**.csv"

push:

Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/docs-required.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
name: Documentation Required

on:
push:
pull_request:
types: [ opened, synchronize, reopened, edited ]

jobs:
build:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/linters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ name: Linters

on:
workflow_call:
pull_request:
paths-ignore:
- '**.md'
- '**.csv'

jobs:

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/post_install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ jobs:
- name: Set Restore Flag
run: echo "RUN_RESTORE=true" >> $GITHUB_ENV

- name: Install
- name: Run Post Install Patch
run: |
bash ${GITHUB_WORKSPACE}/.github/helper/install.sh
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/semantic-commits.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Semantic Commits

on:
push:
pull_request: {}

permissions:
contents: read
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/server-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,14 @@ on:

secrets:
codecov_token:

pull_request:
paths-ignore:
- "**.css"
- "**.js"
- "**.md"
- "**.html"
- "**.csv"

push:
branches: [develop, version-14-hotfix, version-14, version-15-hotfix, version-15]
Expand Down

0 comments on commit 1a3e3f4

Please sign in to comment.