Skip to content

Mzk 41 layout7

Mzk 41 layout7 #24

Workflow file for this run

name: Aptos Test
on:
push:
branches: [ main ]
pull_request:
concurrency:
# cancel redundant builds on PRs (only on PR, not on branches)
group: ${{ github.workflow }}-${{ github.ref_name }}
cancel-in-progress: true
jobs:
aptos_test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/setup_aptos_cli
with:
version: 4.0.0
- name: test_contract
run: |
(aptos move test --skip-fetch-latest-git-deps --skip-attribute-checks --package-dir libs
LIBS_EXIT_CODE=$?) &
(aptos move test --skip-fetch-latest-git-deps --skip-attribute-checks --package-dir verifier
VERIFIER_EXIT_CODE=$?) &
(aptos move test --skip-fetch-latest-git-deps --skip-attribute-checks --package-dir cpu
CPU_EXIT_CODE=$?)
if [ $LIBS_EXIT_CODE -ne 0 ] || [ $VERIFIER_EXIT_CODE -ne 0 ] || [ $CPU_EXIT_CODE -ne 0 ]; then
exit 1
fi