Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: patch test for github actions #2436

Closed
wants to merge 84 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
84 commits
Select commit Hold shift + click to select a range
54a375d
fix: added workflow for patch test
Sanket322 Jul 15, 2024
f0103cb
fix: just run latest versions
Sanket322 Jul 15, 2024
466fc57
fix: checking where it is failing
Sanket322 Jul 15, 2024
3ab600c
fix: only run patch test
Sanket322 Jul 15, 2024
9063c1c
fix: adding branch name
Sanket322 Jul 15, 2024
2fa39df
fix: installing frappe
Sanket322 Jul 15, 2024
8c6648a
fix: code from server_test.yml file
Sanket322 Jul 15, 2024
b420f01
fix: changing app name
Sanket322 Jul 15, 2024
ef71d3c
fix: checking where problem is
Sanket322 Jul 15, 2024
dc222b1
fix: instead of database use test-cases data
Sanket322 Jul 15, 2024
ada0df9
fix: testing with patch
Sanket322 Jul 15, 2024
d1292ac
fix: update to latest versions
Sanket322 Jul 16, 2024
f1637f0
fix: reset env and install ic
Sanket322 Jul 16, 2024
49d9f7e
fix: echo to check where it is failing
Sanket322 Jul 16, 2024
f7f7782
fix: installing erpnext
Sanket322 Jul 16, 2024
f060622
fix: testing by creating custom field
Sanket322 Jul 16, 2024
163c971
fix: creating custom fields
Sanket322 Jul 16, 2024
85847d9
fix: testing execute in patch
Sanket322 Jul 16, 2024
4a83a4f
fix: undo patch changes
Sanket322 Jul 16, 2024
3be0551
fix: added a patch file
Sanket322 Jul 16, 2024
bbd1791
fix: adding database to site
Sanket322 Jul 16, 2024
b6e9ad1
fix: removing healthcare app
Sanket322 Jul 16, 2024
b92d8b2
fix: patch on test data
Sanket322 Jul 16, 2024
973238e
fix: check patch execution log
Sanket322 Jul 16, 2024
1280b66
fix: code as per erpnext
Sanket322 Jul 16, 2024
1fcc02b
fix: adding wring post_install_patch_for_error
Sanket322 Jul 16, 2024
9d664d6
fix: remove syntax error
Sanket322 Jul 16, 2024
e99cb0b
fix: checking from where it is returning
Sanket322 Jul 16, 2024
7b5ebb2
fix: using echo to print
Sanket322 Jul 16, 2024
574ca68
fix: without test_cases
Sanket322 Jul 17, 2024
986eac1
fix: run on older versions
Sanket322 Jul 17, 2024
94f3f77
Merge branch 'develop' of github.com:Sanket322/india-compliance into …
Sanket322 Jul 17, 2024
123736f
fix: install ic
Sanket322 Jul 17, 2024
c9cdf56
fix: resolivg conflict
Sanket322 Jul 17, 2024
db4e22e
fix: echo every line
Sanket322 Jul 18, 2024
caa91cc
fix: have branch as per erpnext
Sanket322 Jul 18, 2024
565e2a7
fix: setting up same branch as erpnext
Sanket322 Jul 18, 2024
ccae760
fix: updating to initial version of v14
Sanket322 Jul 18, 2024
f887f12
fix: version in string
Sanket322 Jul 18, 2024
760098a
fix: branch shift
Sanket322 Jul 18, 2024
d6bcfa1
fix: to version 14.0.0
Sanket322 Jul 19, 2024
1a9d2e2
fix: creating transactions
Sanket322 Jul 19, 2024
4f07107
fix: commenting test cases
Sanket322 Jul 19, 2024
9db4fc0
fix: using erpnext database
Sanket322 Jul 19, 2024
466b00e
fix: run all tests
Sanket322 Jul 19, 2024
38f1edc
fix: undo changes in install.sh
Sanket322 Jul 19, 2024
f0fa094
fix: checking wrong patch error
Sanket322 Jul 19, 2024
8f3ff95
fix: checkout to specific branch
Sanket322 Jul 19, 2024
db44a51
fix: changing branch_to_clone
Sanket322 Jul 19, 2024
7f8a737
fix: version 14
Sanket322 Jul 19, 2024
bc6bcec
fix: install file as it is
Sanket322 Jul 19, 2024
b240562
fix: run ic patch
Sanket322 Jul 19, 2024
6726d5c
fix: version 14 and chenaged install.sh
Sanket322 Jul 19, 2024
171b124
fix: stop other workflow
Sanket322 Jul 20, 2024
821b2c5
fix: only 14-15
Sanket322 Jul 20, 2024
e37788f
fic: syntax error
Sanket322 Jul 20, 2024
cddd556
fix: erpnext script
Sanket322 Jul 21, 2024
49efc30
fix: install file same as before
Sanket322 Jul 21, 2024
803cd21
fix: installing india_compliance app in site
Sanket322 Jul 21, 2024
394bed5
fix: installing app after erpnext
Sanket322 Jul 21, 2024
870d4a9
fix: bench setup requirements
Sanket322 Jul 22, 2024
efd123a
fix: migrating first before installing
Sanket322 Jul 22, 2024
eba79d5
fix: migrating 14.0.0
Sanket322 Jul 22, 2024
50e4166
refactor: refactor previous code
Sanket322 Jul 23, 2024
7a19cd1
fix: get app at specific tag
Sanket322 Jul 23, 2024
ea1ad6d
fix: pre-install patches
Sanket322 Aug 22, 2024
28c8e49
fix: check for latest versions
Sanket322 Aug 22, 2024
6e5e4fa
fix: checking for wrong file name
Sanket322 Aug 22, 2024
77c7ecb
fix: removing return condition in post install
Sanket322 Aug 22, 2024
cad70be
fix: added local db
Sanket322 Aug 22, 2024
68473ba
fix: new post_install.yml
Sanket322 Aug 22, 2024
9989d8b
fix: post_install through install.sh
Sanket322 Aug 22, 2024
0a0dc97
fix: using database without ic
Sanket322 Aug 22, 2024
70c374a
fix: checking post_install with right file name
Sanket322 Aug 22, 2024
8f816c2
fix: calling install from post_install
Sanket322 Aug 22, 2024
111cbd3
fix: do not restore file
Sanket322 Aug 22, 2024
a732f51
fix: running all test cases
Sanket322 Aug 22, 2024
e7a6710
fix: removing extra files
Sanket322 Aug 22, 2024
cc475f5
fix: merge develop into patch_test
Sanket322 Aug 22, 2024
f566d9f
fix: removing restore line
Sanket322 Aug 22, 2024
a9a46a1
fix: reinstall after restore
Sanket322 Aug 22, 2024
5153565
fix: wrong path of post_install patch
Sanket322 Aug 22, 2024
4c6fd04
fix: instead of db make company by script
Sanket322 Aug 22, 2024
e785969
fix: removing script code
Sanket322 Aug 22, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions .github/helper/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,14 @@ wait $wkpid

bench use test_site
bench start &
bench reinstall --yes

# bench --site test_site restore ${GITHUB_WORKSPACE}/20240822_162707-a1_localhost-database.sql.gz

# cd ../../india_compliance/tests
# python ../../india_compliance/tests/__init__.py before_tests

bench --verbose install-app india_compliance
bench --site test_site add-to-hosts
bench reinstall --yes

bench --verbose install-app india_compliance
bench --site test_site add-to-hosts
Binary file added 20240822_162707-a1_localhost-database.sql.gz
Binary file not shown.
1 change: 1 addition & 0 deletions india_compliance/install.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"update_itc_amounts",
## India Compliance
"set_gst_tax_type",
"set_gst_tax_type1",
"update_state_name_to_puducherry",
"rename_import_of_capital_goods",
"update_hsn_code",
Expand Down
Loading