Skip to content

Commit 7803b4a

Browse files
committed
Update: python docs endpoint & fix typo
1 parent 8f17100 commit 7803b4a

File tree

3 files changed

+29
-28
lines changed

3 files changed

+29
-28
lines changed

.github/workflows/build.yml

Lines changed: 27 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# This workflow will install Swap package dependencies, run tests and lint with a variety of Python versions.
1+
# This workflow will install python-hdwallet dependencies, run tests, collect coverage, and submit it to Coveralls.
22

3-
name: HDWallet
3+
name: python-hdwallet
44

55
on:
66
push:
@@ -23,27 +23,28 @@ jobs:
2323
'3.9', '3.10', '3.11', '3.12', '3.13'
2424
]
2525
steps:
26-
- uses: actions/checkout@master
27-
- name: Set up Python ${{ matrix.python-version }}
28-
uses: actions/setup-python@master
29-
with:
30-
python-version: ${{ matrix.python-version }}
31-
- name: Install System dependencies
32-
run: |
33-
sudo apt-get update
34-
sudo apt-get install -y libffi-dev libsecp256k1-dev
35-
- name: Install Dependencies
36-
run: |
37-
python -m pip install --upgrade pip
38-
pip install -e .[cli,tests]
39-
- name: Test with PyTest with Coverage
40-
run: |
41-
coverage run -m pytest
42-
coverage report
43-
- name: Submit Coverage to Coveralls
44-
if: ${{ matrix.python-version == '3.12' && github.event_name == 'push' && (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/v')) }}
45-
run: |
46-
pip install coveralls pyyaml
47-
coveralls
48-
env:
49-
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
26+
- name: Checkout repository
27+
uses: actions/checkout@master
28+
- name: Setup Python ${{ matrix.python-version }}
29+
uses: actions/setup-python@master
30+
with:
31+
python-version: ${{ matrix.python-version }}
32+
- name: Install System dependencies
33+
run: |
34+
sudo apt-get update
35+
sudo apt-get install -y libffi-dev libsecp256k1-dev
36+
- name: Install Dependencies
37+
run: |
38+
python -m pip install --upgrade pip
39+
pip install -e .[cli,tests]
40+
- name: Test with PyTest with Coverage
41+
run: |
42+
coverage run -m pytest
43+
coverage report
44+
- name: Submit Coverage to Coveralls
45+
if: ${{ matrix.python-version == '3.12' && github.event_name == 'push' && (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/v')) }}
46+
run: |
47+
pip install coveralls pyyaml
48+
coveralls
49+
env:
50+
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[![Build Status](https://img.shields.io/github/actions/workflow/status/hdwallet-io/python-hdwallet/build.yml)](https://github.com/hdwallet-io/python-hdwallet/actions/workflows/build.yml)
44
[![PyPI Version](https://img.shields.io/pypi/v/hdwallet.svg?color=blue)](https://pypi.org/project/hdwallet)
5-
[![Documentation Status](https://readthedocs.org/projects/hdwallet/badge/?version=master)](https://hdwallet.readthedocs.io)
5+
[![Documentation Status](https://readthedocs.org/projects/hdwallet/badge/?version=master)](https://hdwallet.readthedocs.io/projects/python)
66
[![PyPI License](https://img.shields.io/pypi/l/hdwallet?color=black)](https://pypi.org/project/hdwallet)
77
[![PyPI Python Version](https://img.shields.io/pypi/pyversions/hdwallet.svg)](https://pypi.org/project/hdwallet)
88
[![Coverage Status](https://coveralls.io/repos/github/hdwallet-io/python-hdwallet/badge.svg?branch=master)](https://coveralls.io/github/hdwallet-io/python-hdwallet)

docs/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Hierarchical Deterministic Wallet
1111
:target: https://pypi.org/project/hdwallet
1212

1313
.. |Documentation Status| image:: https://readthedocs.org/projects/hdwallet/badge/?version=master
14-
:target: https://hdwallet.readthedocs.io/en/master/?badge=master
14+
:target: https://hdwallet.readthedocs.io/projects/python
1515

1616
.. |PyPI License| image:: https://img.shields.io/pypi/l/hdwallet?color=black
1717
:target: https://pypi.org/project/hdwallet

0 commit comments

Comments
 (0)