Create jito_jsonrpc_sdk.py #76
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Python application | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Set up Python 3.10 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.10' | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install pytest responses | |
pip install . | |
- name: Run tests | |
env: | |
JITO_TESTNET_URL: https://dallas.testnet.block-engine.jito.wtf/api/v1 | |
run: | | |
python3 example.py | |
pip list | grep jito_jsonrpc_sdk | |
python -m pip list | grep jito_jsonrpc_sdk | |
pip show jito_jsonrpc_sdk | |
python check_pytest_imports.py | |
pytest ./tests/test_jito_json_rpc_sdk.py |