forked from aptos-labs/aptos-core
-
Notifications
You must be signed in to change notification settings - Fork 2
55 lines (45 loc) · 1.35 KB
/
aptos-framework-test.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
name: Run aptos framework checks
on:
push:
branches:
- dev
- "release/**"
- "feature/**"
pull_request:
types: [opened, synchronize, ready_for_review]
branches:
- dev
- "release/**"
- "feature/**"
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: Run e2e-testsuite
run: |
RUST_MIN_STACK=104857600 ${{ env.CARGO_BIN }} nextest run -p language-e2e-testsuite --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 }}'