forked from aptos-labs/aptos-core
-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (37 loc) · 1.13 KB
/
move-test-compiler-v2.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
name: "Aptos Move Test for Compiler V2"
on:
workflow_dispatch:
push:
branches:
- 'main'
paths:
- 'aptos-move/e2e-move-tests/**'
- 'aptos-move/framework/**'
- 'third_party/move/**'
- '.github/workflows/move-test-compiler-v2.yaml'
- '.github/actions/move-tests-compiler-v2/**'
pull_request:
paths:
- 'aptos-move/e2e-move-tests/**'
- 'aptos-move/framework/**'
- 'third_party/move/**'
- '.github/workflows/move-test-compiler-v2.yaml'
- '.github/actions/move-tests-compiler-v2/**'
env:
CARGO_INCREMENTAL: "0"
CARGO_TERM_COLOR: always
# cancel redundant builds
concurrency:
# cancel redundant builds on PRs (only on PR, not on branches)
group: ${{ github.workflow }}-${{ (github.event_name == 'pull_request' && github.ref) || github.sha }}
cancel-in-progress: true
jobs:
# Run Aptos Move tests.
rust-move-tests:
runs-on: high-perf-docker
steps:
- uses: actions/checkout@v3
- name: Run Aptos Move tests with compiler V2
uses: ./.github/actions/move-tests-compiler-v2
with:
GIT_CREDENTIALS: ${{ secrets.GIT_CREDENTIALS }}