Skip to content

Commit

Permalink
adding aptos-framework test github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
sjadiya-supra committed May 10, 2024
1 parent ea401fc commit 86351c2
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/aptos-framework-test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Run aptos framework checks

on:
push:
branches:
- master
- integrate_supra_framework
pull_request:
branches:
- master
- consensus_key

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: self-hosted

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
${{ env.CARGO_BIN }} nextest run -p e2e-move-tests

0 comments on commit 86351c2

Please sign in to comment.