Skip to content

[tests] Add faucet auth token to fix testnet tests #117

[tests] Add faucet auth token to fix testnet tests

[tests] Add faucet auth token to fix testnet tests #117

name: "Devnet Examples"
on:
pull_request:
types: [labeled, opened, synchronize, reopened, auto_merge_enabled]
push:
branches:
- main
jobs:
run-devnet-examples:
runs-on: ubuntu-latest
env:
APTOS_FAUCET_URL: https://faucet.devnet.aptoslabs.com
APTOS_INDEXER_URL: https://api.devnet.aptoslabs.com/v1/graphql
APTOS_NODE_URL: https://fullnode.devnet.aptoslabs.com/v1
FAUCET_AUTH_TOKEN: ${{ secrets.DEVNET_FAUCET_AUTH_TOKEN }}
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/python-setup
with:
pyproject_directory: .
- name: Run examples on devnet
uses: nick-fields/retry@v2
with:
max_attempts: 1
timeout_minutes: 20
command: make examples