Skip to content
Merged
Show file tree
Hide file tree
Changes from 49 commits
Commits
Show all changes
62 commits
Select commit Hold shift + click to select a range
4c5c48c
Fixing pytest
F1r3Hydr4nt Nov 19, 2025
d4a8099
Modifications to get to zero failures
F1r3Hydr4nt Nov 19, 2025
2a9961e
refs #5 add requirements.txt for Django example
jo7ueb Nov 19, 2025
cfd207e
refs #5 add Django generated initial files
jo7ueb Nov 19, 2025
15b7e8d
refs #5 temporaly impl of JSON-RPC server with Django
jo7ueb Nov 19, 2025
d6cc99d
refs #5 fix wrong PushDrop include path
jo7ueb Nov 19, 2025
97e044f
refs #5 fix some import issues
jo7ueb Nov 19, 2025
7863210
refs #5 make isStorageProvedr() to pass
jo7ueb Nov 20, 2025
8acdcf2
refs #5 isStorageProvider now returns true for StorageProvider
jo7ueb Nov 20, 2025
cd2ec07
BRC-100 compatibility implemented and tested, 215 failures remaing
F1r3Hydr4nt Nov 20, 2025
6ea009b
ZERO failing tests, complaints about Permissions, Certificates, Chain…
F1r3Hydr4nt Nov 20, 2025
622f863
No failing tests
F1r3Hydr4nt Nov 20, 2025
e1f74c4
refs #5 more robust parameter handling
jo7ueb Nov 20, 2025
62c1ea0
No failures
F1r3Hydr4nt Nov 20, 2025
af7e070
More tests unskipped, need discussion
F1r3Hydr4nt Nov 21, 2025
6bb2ce6
MISSING_FUNCTIONALITY_MODULES.md
F1r3Hydr4nt Nov 21, 2025
c196d7e
Full comparison
F1r3Hydr4nt Nov 21, 2025
4aab5f0
initial BRC-100 wallet demo example
jo7ueb Nov 27, 2025
c3a8b1f
Started on coverage, no warnings, 59%
F1r3Hydr4nt Nov 27, 2025
72df8bc
more rich example
jo7ueb Nov 27, 2025
1b0185d
no more japanese language!
jo7ueb Nov 27, 2025
bb6ffc5
Added coverage now at 64%
F1r3Hydr4nt Nov 27, 2025
467f434
fix some error
jo7ueb Nov 27, 2025
53c7c38
impl Monitor layer
jo7ueb Nov 28, 2025
88f31d6
65.68%
F1r3Hydr4nt Nov 28, 2025
9359afb
Added brc29 implementation
F1r3Hydr4nt Nov 28, 2025
cc0549a
67.95%
F1r3Hydr4nt Nov 28, 2025
da580a5
Merge branch 'test-branch' into develop
F1r3Hydr4nt Nov 28, 2025
46f114a
Merge pull request #9 from jo7ueb/develop
F1r3Hydr4nt Nov 28, 2025
f0cc1bf
>70%
F1r3Hydr4nt Nov 28, 2025
ae790be
Removing helper files
F1r3Hydr4nt Nov 28, 2025
e556df8
Skipped tests improvement
F1r3Hydr4nt Dec 1, 2025
9ee9d62
Saving to new branch
F1r3Hydr4nt Dec 1, 2025
1aa636a
Saving for day
F1r3Hydr4nt Dec 1, 2025
5f9abe6
pytest -x --cov --cov-report=html --cov-report=term 793
F1r3Hydr4nt Dec 2, 2025
70fbae0
Utils down to go
F1r3Hydr4nt Dec 2, 2025
b26f9b1
No failures!
F1r3Hydr4nt Dec 2, 2025
bb3dc8e
71%
F1r3Hydr4nt Dec 2, 2025
029ee9e
All tests passing again
F1r3Hydr4nt Dec 3, 2025
345b0f7
Removing inter files
F1r3Hydr4nt Dec 3, 2025
351fd5f
Merge pull request #11 from bsv-blockchain/test-branch2
F1r3Hydr4nt Dec 3, 2025
97c4cdb
All tests passing
F1r3Hydr4nt Dec 3, 2025
a2f5499
All tests passing
F1r3Hydr4nt Dec 3, 2025
81e096f
Passing again
F1r3Hydr4nt Dec 3, 2025
6aa9e24
More unskipped
F1r3Hydr4nt Dec 3, 2025
9f4056f
Really good comparison result
F1r3Hydr4nt Dec 3, 2025
8caa56c
Go parity, needs better testing
F1r3Hydr4nt Dec 3, 2025
f3691c5
Cleanup
F1r3Hydr4nt Dec 3, 2025
edf2b4b
Fixing GH CodeQL issues
F1r3Hydr4nt Dec 3, 2025
375d28c
Potential fix for code scanning alert no. 1: Information exposure thr…
F1r3Hydr4nt Dec 3, 2025
f3559ca
Potential fix for code scanning alert no. 4: Information exposure thr…
F1r3Hydr4nt Dec 3, 2025
99a72c7
Update src/bsv_wallet_toolbox/storage/provider.py
F1r3Hydr4nt Dec 3, 2025
1d42080
Update src/bsv_wallet_toolbox/signer/methods.py
F1r3Hydr4nt Dec 3, 2025
6e599b5
Update src/bsv_wallet_toolbox/utils/validation.py
F1r3Hydr4nt Dec 3, 2025
98ef373
Update src/bsv_wallet_toolbox/storage/provider.py
F1r3Hydr4nt Dec 3, 2025
10b9145
Small fixes to circumnavigate Github changes
F1r3Hydr4nt Dec 4, 2025
e357947
Update src/bsv_wallet_toolbox/utils/validation.py
F1r3Hydr4nt Dec 4, 2025
d4325a4
Addressed code smell and pagination negative offset concerns
F1r3Hydr4nt Dec 4, 2025
bc4852d
Update src/bsv_wallet_toolbox/utils/validation.py
F1r3Hydr4nt Dec 4, 2025
b997590
Update src/bsv_wallet_toolbox/storage/provider.py
F1r3Hydr4nt Dec 4, 2025
b23c6ef
Update src/bsv_wallet_toolbox/services/services.py
F1r3Hydr4nt Dec 4, 2025
81b4bd9
Update src/bsv_wallet_toolbox/signer/methods.py
F1r3Hydr4nt Dec 4, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
98 changes: 98 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
name: build

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.11', '3.12']

steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Fetch all history for all branches and tags

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

- name: Cache pip packages
uses: actions/cache@v3
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/pyproject.toml') }}
restore-keys: |
${{ runner.os }}-pip-

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e .[dev]

- name: Run linting
run: |
echo "Running black..."
black --check src/ tests/
echo "Running ruff..."
ruff check src/ tests/

- name: Run type checking
continue-on-error: true
run: |
echo "Running mypy..."
mypy src/

- name: Run tests with coverage
run: |
pytest tests/ -v --cov=src/bsv_wallet_toolbox --cov-report=term-missing --cov-report=html --cov-report=json

- name: Extract coverage percentage
id: coverage
run: |
# Extract coverage percentage from coverage.json
COVERAGE=$(python -c "import json; print(json.load(open('coverage.json'))['totals']['percent_covered'])")
echo "coverage=$COVERAGE" >> $GITHUB_OUTPUT
echo "Coverage: $COVERAGE%"

- name: Update coverage badge (main branch only)
if: github.ref == 'refs/heads/main' && matrix.python-version == '3.11'
run: |
python update_coverage.py ${{ steps.coverage.outputs.coverage }}

- name: Commit coverage update
if: github.ref == 'refs/heads/main' && matrix.python-version == '3.11'
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "chore: update coverage badge to ${{ steps.coverage.outputs.coverage }}%"
file_pattern: README.md
commit_user_name: github-actions[bot]
commit_user_email: github-actions[bot]@users.noreply.github.com

- name: Upload coverage reports
if: matrix.python-version == '3.11'
uses: actions/upload-artifact@v4
with:
name: coverage-report
path: htmlcov/

- name: Comment PR with coverage
if: github.event_name == 'pull_request' && matrix.python-version == '3.11'
uses: actions/github-script@v7
with:
script: |
const coverage = '${{ steps.coverage.outputs.coverage }}';
const comment = `## Test Coverage Report\n\n📊 **Coverage: ${coverage}%**\n\nView the full coverage report in the build artifacts.`;
github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: comment
});

Loading
Loading