Skip to content

[book] Minor edits

[book] Minor edits #17

Workflow file for this run

name: Run tests for Move packages
# Set the VERSION variable to use when downloading the binary
# Currently, requires explicit setup, ideally it should be fetched
# automatically
# env:
# VERSION: 'v1.24.1'
on:
pull_request:
jobs:
download-binary:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Download Sui
uses: jaxxstorm/[email protected]
with:
repo: MystenLabs/sui
platform: ubuntu
rename-to: sui-archive
cache: enable
extension: '.tgz'
# - run: 'which sui'
- run: 'ls /opt/hostedtoolcache/'
- run: 'tar -xvzf /opt/hostedtoolcache/MystenLabs/sui/latest/ubuntu-x64/sui-archive'
- run: 'ls /opt/hostedtoolcache/MystenLabs/sui/latest/ubuntu-x64/sui-archive'
- run: 'sui --help'
- run: 'sui move test --path packages/samples'
- run: 'sui move test --path packages/reference'
- run: 'sui move test --path packages/todo_list'
- run: 'sui move test --path packages/hello_world'