@@ -8,7 +8,7 @@ on: | |||||
pull_request: | pull_request: | ||||
concurrency: | concurrency: | ||||
group: develop-pay-${{ github.event.number }} | |||||
group: develop-payments-${{ github.event.number }} | |||||
cancel-in-progress: true | cancel-in-progress: true | ||||
jobs: | jobs: | ||||
@@ -73,10 +73,10 @@ jobs: | |||||
- name: Install | - name: Install | ||||
working-directory: /home/runner/frappe-bench | working-directory: /home/runner/frappe-bench | ||||
run: | | run: | | ||||
bench get-app pay $GITHUB_WORKSPACE | |||||
bench get-app payments $GITHUB_WORKSPACE | |||||
bench setup requirements --dev | bench setup requirements --dev | ||||
bench new-site --db-root-password root --admin-password admin test_site | bench new-site --db-root-password root --admin-password admin test_site | ||||
bench --site test_site install-app pay | |||||
bench --site test_site install-app payments | |||||
bench build | bench build | ||||
env: | env: | ||||
CI: 'Yes' | CI: 'Yes' | ||||
@@ -85,6 +85,6 @@ jobs: | |||||
working-directory: /home/runner/frappe-bench | working-directory: /home/runner/frappe-bench | ||||
run: | | run: | | ||||
bench --site test_site set-config allow_tests true | bench --site test_site set-config allow_tests true | ||||
bench --site test_site run-tests --app pay | |||||
bench --site test_site run-tests --app payments | |||||
env: | env: | ||||
TYPE: server | TYPE: server |
@@ -3,5 +3,5 @@ | |||||
*.egg-info | *.egg-info | ||||
*.swp | *.swp | ||||
tags | tags | ||||
pay/docs/current | |||||
payments/docs/current | |||||
node_modules/ | node_modules/ |
@@ -4,15 +4,15 @@ include *.json | |||||
include *.md | include *.md | ||||
include *.py | include *.py | ||||
include *.txt | include *.txt | ||||
recursive-include pay *.css | |||||
recursive-include pay *.csv | |||||
recursive-include pay *.html | |||||
recursive-include pay *.ico | |||||
recursive-include pay *.js | |||||
recursive-include pay *.json | |||||
recursive-include pay *.md | |||||
recursive-include pay *.png | |||||
recursive-include pay *.py | |||||
recursive-include pay *.svg | |||||
recursive-include pay *.txt | |||||
recursive-exclude pay *.pyc | |||||
recursive-include payments *.css | |||||
recursive-include payments *.csv | |||||
recursive-include payments *.html | |||||
recursive-include payments *.ico | |||||
recursive-include payments *.js | |||||
recursive-include payments *.json | |||||
recursive-include payments *.md | |||||
recursive-include payments *.png | |||||
recursive-include payments *.py | |||||
recursive-include payments *.svg | |||||
recursive-include payments *.txt | |||||
recursive-exclude payments *.pyc |
@@ -2,7 +2,7 @@ | |||||
Configuration for docs | Configuration for docs | ||||
""" | """ | ||||
# source_link = "https://github.com/[org_name]/pay" | |||||
# source_link = "https://github.com/[org_name]/payments" | |||||
# headline = "App that does everything" | # headline = "App that does everything" | ||||
# sub_heading = "Yes, you got that right the first time, everything" | # sub_heading = "Yes, you got that right the first time, everything" | ||||
@@ -1,6 +1,6 @@ | |||||
from . import __version__ as app_version | from . import __version__ as app_version | ||||
app_name = "pay" | |||||
app_name = "payments" | |||||
app_title = "Payments" | app_title = "Payments" | ||||
app_publisher = "Frappe Technologies" | app_publisher = "Frappe Technologies" | ||||
app_description = "Payments app for frappe" | app_description = "Payments app for frappe" |
@@ -4,10 +4,10 @@ with open("requirements.txt") as f: | |||||
install_requires = f.read().strip().split("\n") | install_requires = f.read().strip().split("\n") | ||||
# get version from __version__ variable in pay/__init__.py | # get version from __version__ variable in pay/__init__.py | ||||
from pay import __version__ as version | |||||
from payments import __version__ as version | |||||
setup( | setup( | ||||
name="pay", | |||||
name="payments", | |||||
version=version, | version=version, | ||||
description="Payments app for frappe", | description="Payments app for frappe", | ||||
author="Frappe Technologies", | author="Frappe Technologies", | ||||