chore(target_chains/aptos): add bardock network #22
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |