Fix spec and add spec for supra governance #350
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
name: Run aptos framework checks | |
on: | |
push: | |
branches: | |
- dev | |
pull_request: | |
branches: | |
- dev | |
env: | |
CARGO_TERM_COLOR: always | |
CARGO_BIN: ~/.cargo/bin/cargo | |
CARGO_NET_GIT_FETCH_WITH_CLI: true | |
FORGE_BIN: ~/.foundry/bin/forge | |
SUI_BIN: ~/.cargo/bin/sui | |
APTOS_BIN: ~/.local/bin/aptos | |
SCRYPTO_BIN: ~/.cargo/bin/scrypto | |
jobs: | |
build: | |
runs-on: org-qa-runner | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
clean: false | |
- name: Get changed files | |
id: changed-files | |
uses: tj-actions/changed-files@v42 | |
- name: Run tests | |
run: | | |
${{ env.CARGO_BIN }} test --release -p aptos-framework -- --skip prover | |
RUST_MIN_STACK=104857600 ${{ env.CARGO_BIN }} nextest run -p e2e-move-tests --no-fail-fast | |
- name: Slack Notification | |
if: failure() | |
uses: rtCamp/action-slack-notify@v2 | |
env: | |
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_URL }} | |
SLACK_CHANNEL: aptos-core-notifications # Specify your channel | |
SLACK_MESSAGE: 'Job ${{ job.status }}: ${{ github.event.head_commit.message }}' |