Skip to content

fix: pending airdrop id conversion #508

fix: pending airdrop id conversion

fix: pending airdrop id conversion #508

Workflow file for this run

name: Hiero Solo Integration Tests
on:
push:
branches:
- '**'
workflow_dispatch:
pull_request:
permissions:
contents: read
actions: write
jobs:
build-and-test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13"]
steps:
- name: Harden the runner (Audit all outbound calls)
uses: step-security/harden-runner@f4a75cfd619ee5ce8d5b864b0d183aff3c69b55a # v2.13.1
with:
egress-policy: audit
- name: Checkout repository
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
- name: Install uv
uses: astral-sh/setup-uv@2ddd2b9cb38ad8efd50337e8ab201519a34c9f24 # v7.1.1
- name: Install setuptools wheel
run: pip install --upgrade pip setuptools wheel
- name: Install dependencies
run: uv sync --all-extras --dev
- name: Generate Proto Files
run: uv run python generate_proto.py
- name: Prepare Hiero Solo
id: solo
uses: hiero-ledger/hiero-solo-action@6a1a77601cf3e69661fb6880530a4edf656b40d5 # v0.14.0
with:
installMirrorNode: true
- 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 integration 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: |
uv run pytest -m integration
- name: Run unit tests
run: |
uv run pytest -m unit