Skip to content

(feat) add get_price view functions to aptos contract #18

(feat) add get_price view functions to aptos contract

(feat) add get_price view functions to aptos contract #18

on:
pull_request:
paths:
- target_chains/aptos/contracts/**
push:
branches:
- main
paths:
- target_chains/aptos/contracts/**
name: Aptos Contract
jobs:
aptos-tests:
name: Aptos tests
runs-on: ubuntu-latest
defaults:
run:
working-directory: target_chains/aptos/contracts/
steps:
- uses: actions/checkout@v3
- name: Download CLI
run: wget https://github.com/aptos-labs/aptos-core/releases/download/aptos-cli-v3.1.0/aptos-cli-3.1.0-Ubuntu-22.04-x86_64.zip
- name: Unzip CLI
run: unzip aptos-cli-3.1.0-Ubuntu-22.04-x86_64.zip
- name: Run tests
run: ./aptos move test