Skip to content

Commit

Permalink
(feat) add pytest after bdist_wheels
Browse files Browse the repository at this point in the history
  • Loading branch information
MementoRC committed Jan 23, 2024
1 parent 74dc9dd commit a816920
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/scripts/build-windows-wheels.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ build_dll x86_64-w64-mingw32
mv .libs/libsecp256k1-?.dll ../clean/coincurve/libsecp256k1.dll
cd ../clean
python setup.py bdist_wheel --plat-name=win_amd64
python -m pytest
rm coincurve/libsecp256k1.dll

cd ../32bit
Expand All @@ -38,6 +39,7 @@ build_dll i686-w64-mingw32
mv .libs/libsecp256k1-?.dll ../clean/coincurve/libsecp256k1.dll
cd ../clean
python setup.py bdist_wheel --plat-name=win32
python -m pytest

mv dist/* ../coincurve/dist/
cd ../coincurve
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ jobs:
- uses: actions/checkout@v4

- name: Install build dependencies
run: python -m pip install --upgrade cffi
run: python -m pip install --upgrade cffi pytest

- name: Build source distribution
run: python setup.py sdist
Expand Down

0 comments on commit a816920

Please sign in to comment.