Download and generate protobuf #61
Workflow file for this run
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: Hedera Solo Integration Tests | |
on: | |
push: | |
branches: | |
- '**' | |
pull_request: | |
jobs: | |
build-and-test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
# See https://docs.astral.sh/uv/guides/integration/github/#caching For information on `uv` | |
- name: Install uv | |
uses: astral-sh/setup-uv@v4 | |
- name: Setup Python | |
run: uv python install | |
- name: Install dependencies | |
run: uv sync --all-extras --dev | |
- name: Prepare Hedera Solo | |
id: solo | |
uses: OpenElements/[email protected] | |
- name: Set environment variables | |
run: | | |
echo "OPERATOR_ID=${{ steps.solo.outputs.accountId }}" | |
echo "OPERATOR_KEY=${{ steps.solo.outputs.privateKey }}" | |
echo "ADMIN_KEY=${{ steps.solo.outputs.privateKey }}" | |
echo "PUBLIC_KEY=${{ steps.solo.outputs.publicKey }}" | |
- name: Install your package | |
run: pip install -e . | |
- name: Run tests | |
env: | |
OPERATOR_ID: ${{ steps.solo.outputs.accountId }} | |
OPERATOR_KEY: ${{ steps.solo.outputs.privateKey }} | |
ADMIN_KEY: ${{ steps.solo.outputs.privateKey }} | |
PUBLIC_KEY: ${{ steps.solo.outputs.publicKey }} | |
NETWORK: solo | |
run: | | |
python test.py |