Skip to content

Commit

Permalink
Update pr-checks.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-jfreeberg committed Aug 8, 2023
1 parent 9f82c3e commit 8bf8c9a
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/pr-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
with:
Expand All @@ -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

Expand Down

0 comments on commit 8bf8c9a

Please sign in to comment.