From 8bf8c9a2ddd44fad0b3705e783b9dd06445241df Mon Sep 17 00:00:00 2001 From: Jason Freeberg Date: Tue, 8 Aug 2023 11:58:44 -0700 Subject: [PATCH] Update pr-checks.yml --- .github/workflows/pr-checks.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/pr-checks.yml b/.github/workflows/pr-checks.yml index 3040e73..1aca024 100644 --- a/.github/workflows/pr-checks.yml +++ b/.github/workflows/pr-checks.yml @@ -26,6 +26,12 @@ jobs: steps: - uses: actions/checkout@v3 + - run: | + python -c "from ctypes.util import find_library; path = find_library('crypto'); from cffi import FFI; vffi = FFI(); vffi.cdef('const char *OpenSSL_version(int type);'); version_string = vffi.string(vffi.dlopen(path).OpenSSL_version(0)).decode('utf-8'); print(version_string)" + + - run: | + python -c "from ctypes.util import find_library; path = find_library('crypto'); from cffi import FFI; vffi = FFI(); vffi.cdef('const char *SSLeay_version(int type);'); version_string = vffi.string(vffi.dlopen(path).SSLeay_version(0)).decode('utf-8'); print(version_string)" + - name: Setup Conda uses: conda-incubator/setup-miniconda@v2.2.0 with: @@ -37,6 +43,12 @@ jobs: sudo apt-get update sudo apt-get install -y libssl-dev + - run: | + python -c "from ctypes.util import find_library; path = find_library('crypto'); from cffi import FFI; vffi = FFI(); vffi.cdef('const char *OpenSSL_version(int type);'); version_string = vffi.string(vffi.dlopen(path).OpenSSL_version(0)).decode('utf-8'); print(version_string)" + + - run: | + python -c "from ctypes.util import find_library; path = find_library('crypto'); from cffi import FFI; vffi = FFI(); vffi.cdef('const char *SSLeay_version(int type);'); version_string = vffi.string(vffi.dlopen(path).SSLeay_version(0)).decode('utf-8'); print(version_string)" + - name: Run tests run: python -m pytest