Skip to content

Commit e7f6b5f

Browse files
committed
CI: Importing aleph.sdk after installation
1 parent 6b33b37 commit e7f6b5f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/build-wheels.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,10 @@ jobs:
3838
- name: Install the Python wheel
3939
run: |
4040
python3 -m pip install dist/aleph_sdk_python-*.whl
41+
42+
- name: Import and use the package
43+
# macos tests fail this step because they use Python 3.11, which is not yet supported by our dependencies
44+
if: startsWith(matrix.os, 'ubuntu-')
45+
run: |
46+
python3 -c "import aleph.sdk"
47+
python3 -c "from aleph.sdk.chains.ethereum import get_fallback_account; get_fallback_account()"

0 commit comments

Comments
 (0)