Implement audited lost-factor recovery and track remaining P04 acceptance
Assistant: codex Assistant-Model: gpt-6-astra Assistant-Session: 01a092fe-13b1-7f12-ac74-7d258af4d79c
This commit is contained in:
parent
244e7e096f
commit
3b7df9047e
5 changed files with 229 additions and 1 deletions
|
|
@ -2,7 +2,7 @@ name: Authentication acceptance
|
|||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
paths: ["src/**", "scripts/provider-onboarding-contract.py", ".forgejo/workflows/acceptance.yaml"]
|
||||
paths: ["src/**", "scripts/provider-onboarding-contract.py", "scripts/factor_recovery.py", "scripts/test_factor_recovery.py", ".forgejo/workflows/acceptance.yaml"]
|
||||
workflow_dispatch:
|
||||
jobs:
|
||||
acceptance:
|
||||
|
|
@ -36,5 +36,6 @@ jobs:
|
|||
archive.write(response.read());archive.seek(0)
|
||||
with tarfile.open(fileobj=archive,mode='r:gz') as tar:tar.extractall(root,filter='data')
|
||||
script=next(root.glob('*/scripts/provider-onboarding-contract.py'))
|
||||
subprocess.run(['python3','-m','unittest','discover','-s',str(script.parent),'-p','test_factor_recovery.py'],check=True,timeout=30)
|
||||
subprocess.run(['python3',str(script)],check=True,timeout=90)
|
||||
PYCODE
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue