mirror of
https://github.com/Routstr/routstr-core.git
synced 2026-08-11 11:47:50 +00:00
Add test coverage and JUnit XML reporting to CI workflow
Co-authored-by: db2002dominic <db2002dominic@gmail.com>
This commit is contained in:
co-authored by
db2002dominic
parent
ed99996985
commit
a629b903e0
@@ -40,7 +40,7 @@ jobs:
|
||||
UPSTREAM_BASE_URL: "http://test"
|
||||
UPSTREAM_API_KEY: "test"
|
||||
run: |
|
||||
uv run pytest --verbose --tb=short
|
||||
uv run pytest --verbose --tb=short --junit-xml=pytest.xml --cov=routstr --cov-report=term --cov-report=xml
|
||||
|
||||
- name: Upload test results
|
||||
if: always()
|
||||
|
||||
+1855
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1 @@
|
||||
<?xml version="1.0" encoding="utf-8"?><testsuites name="pytest tests"><testsuite name="pytest" errors="0" failures="0" skipped="0" tests="5" time="1.658" timestamp="2025-08-22T13:59:10.535484+00:00" hostname="cursor"><testcase classname="tests.unit.test_wallet" name="test_get_balance" time="0.004" /><testcase classname="tests.unit.test_wallet" name="test_recieve_token_valid" time="0.002" /><testcase classname="tests.unit.test_wallet" name="test_send_token" time="0.001" /><testcase classname="tests.unit.test_wallet" name="test_credit_balance" time="0.013" /><testcase classname="tests.unit.test_wallet" name="test_recieve_token_untrusted_mint" time="0.002" /></testsuite></testsuites>
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
import asyncio
|
||||
import os
|
||||
import math
|
||||
import os
|
||||
from typing import TypedDict
|
||||
|
||||
from cashu.core.base import Proof, Token
|
||||
|
||||
Reference in New Issue
Block a user