-
Notifications
You must be signed in to change notification settings - Fork 116
49 lines (45 loc) · 1.69 KB
/
integration.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
name: Integration
on:
push:
branches: [ main, ci, v5 ]
pull_request:
branches: [ main, 'release**', v5]
jobs:
integration:
name: Integration
runs-on: self-hosted
timeout-minutes: 90
env:
NODE_ENV: test
TEST: y
steps:
- uses: actions/checkout@v2
- name: Get branch names
id: branch-name
uses: tj-actions/branch-names@v4
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: 1.52.1
override: true
components: rustfmt, clippy
- name: Install deps
run: sudo apt-get install -y lld
- name: Check branch
run: echo "${{ steps.branch-name.outputs.current_branch }}"
- name: Build sdlib
run: cargo r -p diem-framework --release
- name: MINING
run: RUSTC_WRAPPER=sccache SOURCE_PATH=./ make -f ol/integration-tests/test-mining.mk test
- name: AUTOPAY percent-change
run: RUSTC_WRAPPER=sccache SOURCE_PATH=./ make -f ol/integration-tests/test-autopay.mk test-percent-bal
- name: AUTOPAY fixed-once
run: RUSTC_WRAPPER=sccache SOURCE_PATH=./ make -f ol/integration-tests/test-autopay.mk test-fixed-once
- name: AUTOPAY all
run: RUSTC_WRAPPER=sccache SOURCE_PATH=./ make -f ol/integration-tests/test-autopay.mk test
- name: ONBOARD
run: RUSTC_WRAPPER=sccache SOURCE_PATH=./ make -f ol/integration-tests/test-onboard.mk test
- name: File permissions
run: sudo chmod -R 777 language/*
- name: UPGRADE
run: BRANCH_NAME=${{ steps.branch-name.outputs.current_branch }} RUSTC_WRAPPER=sccache SOURCE_PATH=./ make -f ol/integration-tests/test-upgrade.mk test