diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8da1741..1ae3afd 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -22,9 +22,6 @@ jobs: python -m pip install --upgrade pip pip install -r requirements.txt - - name: Install your package - run: pip install -e . - - name: Prepare Hedera Solo id: solo uses: OpenElements/hedera-solo-action@v0.4 @@ -35,10 +32,13 @@ jobs: echo "OPERATOR_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 }} PUBLIC_KEY: ${{ steps.solo.outputs.publicKey }} - run: python test.py - + NETWORK: + run: python test.py \ No newline at end of file diff --git a/test.py b/test.py index 20bcf7a..3e447be 100644 --- a/test.py +++ b/test.py @@ -137,4 +137,4 @@ def main(): transfer_token(client, recipient_id, token_id) if __name__ == "__main__": - main() + main() \ No newline at end of file