Skip to content

[cicd] add basic cicd #1

[cicd] add basic cicd

[cicd] add basic cicd #1

Workflow file for this run

name: "Check examples"
on:
pull_request:
types: [labeled, opened, synchronize, reopened, auto_merge_enabled]
push:
branches:
- devnet
jobs:
run-python-examples:
if: contains(github.event.pull_request.labels.*.name, 'CICD:non-required-tests')
runs-on: ubuntu-latest
env:
APTOS_NODE_URL: https://fullnode.devnet.aptoslabs.com/v1
APTOS_FAUCET_URL: https://faucet.devnet.aptoslabs.com
FAUCET_AUTH_TOKEN: ${{ secrets.DEVNET_TAP_AUTH_TOKEN }}
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/python-setup
with:
pyproject_directory: .
- uses: nick-fields/retry@7f8f3d9f0f62fe5925341be21c2e8314fd4f7c7c # pin@v2
name: py-example-test
with:
max_attempts: 5
timeout_minutes: 20
command: make test && make examples