Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
22 changes: 0 additions & 22 deletions .github/workflows/integration_test.yml

This file was deleted.

16 changes: 14 additions & 2 deletions .github/workflows/unittests.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,24 @@
name: Run python only unit tests and mypy
name: Run mypy and python-only unit and integration tests

on:
push:
workflow_dispatch:

env:
PROXY_URL: https://efile-test.suffolklitlab.org
PROXY_API_KEY: ${{ secrets.EFILE_PROXY_API_KEY }}
TYLER_USER_EMAIL: ${{ secrets.TYLER_EMAIL }}
TYLER_USER_PASSWORD: ${{ secrets.TYLER_PASSWORD }}

# Allow only one concurrent test-run, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as stopping integration tests mid-run could end up in a bad state
concurrency:
group: "tests"
cancel-in-progress: false

jobs:
test-efspintegration:
runs-on: ubuntu-latest
name: Run python only unit tests
name: Run python-only unit and integration tests
steps:
- uses: SuffolkLITLab/ALActions/pythontests@main
2 changes: 1 addition & 1 deletion docassemble/EFSPIntegration/conversions.py
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ def chain_xml(xml_val, elems: List[Union[str, int]]):
val = xml_val
for idx, elem in enumerate(elems):
if not val:
log(f"No {elem} ({idx}) in {xml_val} ({elems})")
log(f"No `{elem}` ({idx}) in `{xml_val}` ({elems})")
return None
if isinstance(val, dict):
val = val.get(elem) or {}
Expand Down
Loading