Skip to content

Commit 2810f3f

Browse files
author
sangeet-joy_xero
committed
Added read me file
1 parent a05d150 commit 2810f3f

File tree

4 files changed

+17
-10
lines changed

4 files changed

+17
-10
lines changed

.github/workflows/build-test-lint.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,19 +33,14 @@ jobs:
3333

3434
- name: Run audit on requirements.txt
3535
run: |
36+
3637
echo "running audit on requirements.txt...."
3738
pip-audit -r requirements.txt
39+
3840
echo "running audit on dev.txt...."
3941
pip-audit -r requirements/dev.txt
40-
working-directory: xero-python
4142
42-
# - name: Run audit on dev.txt
43-
# run: |
44-
# pip install pip-audit
45-
# pip install -r requirements/dev.txt
46-
# echo "running audit...."
47-
# pip-audit -r requirements/dev.txt
48-
# working-directory: xero-python
43+
working-directory: xero-python
4944

5045
- name: Run Flake8
5146
run: flake8 xero_python

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ The xero-python SDK makes it easy for developers to access Xero's APIs in their
1818
- [Helper Methods](#helper-methods)
1919
- [Usage Examples](#usage-examples)
2020
- [SDK conventions](#sdk-conventions)
21+
- [Running Test(s) in Local](#running-tests-in-local)
2122
- [Participating in Xero’s developer community](#participating-in-xeros-developer-community)
2223
- [Contributing](#contributing)
2324

@@ -540,6 +541,18 @@ created_invoice_attachments_by_file_name = accounting_api.create_invoice_attachm
540541
---
541542
## SDK conventions
542543

544+
545+
---
546+
## Running Test(s) in Local
547+
For Running Test cases PRISM Mock Server needs to be started in the local machine.
548+
Steps to Run Test(s)
549+
* Install PRISM from npm using the command: **npm install -g @stoplight/prism-cli**
550+
* Verify Installation: **prism --version**
551+
* Navigate to **tests--> utils--> ** folder in the terminal
552+
* Execute the script **./start-prism.sh**
553+
* This will start the PRISM Server in Local
554+
* Run **pytest** to run the dotnet test cases.
555+
543556
### Querying & Filtering
544557

545558
Describe the support for query options and filtering

requirements.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,3 @@ python-dateutil>=2.7
33
urllib3>=2.2.3
44
certifi
55
setuptools>=75.1.0
6-
django==2.2.9

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,5 +48,5 @@ def read_file(filename):
4848
keywords="xero python sdk API oAuth",
4949
name="xero_python",
5050
packages=find_packages(include=["xero_python", "xero_python.*"]),
51-
version="6.3.0-alpha.5",
51+
version="6.3.0",
5252
)

0 commit comments

Comments
 (0)