ci-aptos-contract.yml 630 B

12345678910111213141516171819202122232425262728
  1. on:
  2. pull_request:
  3. paths:
  4. - target_chains/aptos/contracts/**
  5. push:
  6. branches:
  7. - main
  8. name: Aptos Contract
  9. jobs:
  10. aptos-tests:
  11. name: Aptos tests
  12. runs-on: ubuntu-latest
  13. defaults:
  14. run:
  15. working-directory: target_chains/aptos/contracts/
  16. steps:
  17. - uses: actions/checkout@v3
  18. - name: Download CLI
  19. 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
  20. - name: Unzip CLI
  21. run: unzip aptos-cli-3.1.0-Ubuntu-22.04-x86_64.zip
  22. - name: Run tests
  23. run: ./aptos move test