diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 34235bac..316618cf 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -15,25 +15,15 @@ jobs: steps: - uses: actions/checkout@v2 - name: Download Sui - uses: jaxxstorm/action-install-gh-release@v1.10.0 + uses: jaxxstorm/action-install-gh-release@v1.12.0 with: repo: MystenLabs/sui platform: ubuntu - rename-to: sui-archive + version: mainnet cache: enable - extension: '.tgz' - # The code below is unpacking the .tgz because the action used above does - # not recognize the extension. The PR to the action repo is open and once - # it's in (and if) we'll be able to remove this. - - run: 'ls /opt/hostedtoolcache/' - - name: Unpack the archive (.tgz is not supported currently) - run: 'tar -xvzf /opt/hostedtoolcache/MystenLabs/sui/latest/ubuntu-x64/sui-archive' - - name: Move binaries to $PATH - run: mv sui* /opt/hostedtoolcache/MystenLabs/sui/latest/ubuntu-x64 - - run: chmod 0755 /opt/hostedtoolcache/MystenLabs/sui/latest/ubuntu-x64/sui # Run the tests in every directory using the latest mainnet binary - - 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' + - 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 diff --git a/packages/todo_list/tests/todo_list_tests.move b/packages/todo_list/tests/todo_list_tests.move index 51a01665..d791a761 100644 --- a/packages/todo_list/tests/todo_list_tests.move +++ b/packages/todo_list/tests/todo_list_tests.move @@ -21,9 +21,9 @@ module todo_list::todo_list_tests { #[test_only] module todo_list::todo_list_tests { // uncomment this line to import the module - use todo_list::todo_list; + // use todo_list::todo_list; - const ENotImplemented: u64 = 0; + // const ENotImplemented: u64 = 0; // #[test] // fun test_todo() {