Skip to content

Add a Github workflow to test pip/conda package installation #1

Add a Github workflow to test pip/conda package installation

Add a Github workflow to test pip/conda package installation #1

Workflow file for this run

name: Test package installation by running a basic example
on:
pull_request:
jobs:
test-pip:
runs-on: ubuntu-latest
strategy:
matrix:
platform: [linux/amd64]
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.11
- name: Clone sdk-python repository
run: |
git clone https://github.com/InjectiveLabs/sdk-python
cd sdk-python
- name: Install injective-py from local copy
run: |
pip install .
- name: Run Python script
run: |
python3 examples/chain_client/tendermint/query/3_GetLatestBlock.py