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
55on :
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 }}
0 commit comments