From a8169206b379abb9349490922822246be5d7f187 Mon Sep 17 00:00:00 2001 From: memento Date: Tue, 23 Jan 2024 11:16:34 -0600 Subject: [PATCH] (feat) add pytest after bdist_wheels --- .github/scripts/build-windows-wheels.sh | 2 ++ .github/workflows/build.yml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/scripts/build-windows-wheels.sh b/.github/scripts/build-windows-wheels.sh index 0dbf52273..906437595 100755 --- a/.github/scripts/build-windows-wheels.sh +++ b/.github/scripts/build-windows-wheels.sh @@ -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 @@ -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 diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f256132be..015d6b5fc 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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