Skip to content

Commit

Permalink
ci: install bip32 from source and tame MacOS
Browse files Browse the repository at this point in the history
Install python-bip32 from source to avoid
#41 from happening again.

Unfortunately building coincurve on MacOS keeps failing for esoteric
reasons and i don't have infinite time, so on MacOS first install
coincurve wheels before installing python-bip32.
  • Loading branch information
darosior committed Sep 7, 2024
1 parent 27a4036 commit a1cb75a
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,20 @@ jobs:
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Installation (deps and package)
- name: Install pip and setuptools
run: |
python -m pip install --upgrade pip
pip install pytest
pip install -r requirements.txt -r tests/requirements.txt
python setup.py install
pip install setuptools
- name: On MacOS, install coincurve's dependencies and install it from wheels # FIXME: installing from source fails for some reason.
if: matrix.os == 'macos-latest' || matrix.os == 'macos-13'
run: |
brew install autoconf automake libffi libtool pkg-config python
pip install -r requirements.txt
- name: Install python-bip32 from source
run: python setup.py install
- name: Test with pytest
run: |
pip install -r tests/requirements.txt
pytest -vvv
linter:
Expand Down

0 comments on commit a1cb75a

Please sign in to comment.