Skip to content

Commit

Permalink
start and stop prism for running tests
Browse files Browse the repository at this point in the history
  • Loading branch information
vigneshk-tw committed Oct 22, 2024
1 parent 06e3fa5 commit 26d6e2f
Showing 1 changed file with 13 additions and 6 deletions.
19 changes: 13 additions & 6 deletions .github/workflows/build-test-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,16 @@ jobs:
run: python setup.py sdist
working-directory: xero-python

# - name: Run Test
# run: |
# source venv/bin/activate
# pip install -r requirements/test.txt
# pytest -v
# working-directory: xero-python
- name: Start PRISM Server
run: sudo ./start-prism.sh
working-directory: xero-python/tests/utils

- name: Run Test
run: |
source venv/bin/activate
pytest -v
working-directory: xero-python

- name: Stop PRISM
run: pkill -f prism
working-directory: xero-python

0 comments on commit 26d6e2f

Please sign in to comment.