Skip to content

Commit c6f8ca1

Browse files
authoredFeb 22, 2023
optimize regression yml (xuperchain#1204)
1 parent 6b55214 commit c6f8ca1

File tree

3 files changed

+6
-12
lines changed

3 files changed

+6
-12
lines changed
 

‎.github/workflows/regression1.yml ‎.github/workflows/regression_basic.yml

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
on: pull_request
2-
name: regression_test_1
2+
name: regression_basic # 测试账号、合约账号、转账、acl、合约、事件、提案投票
33
jobs:
44
test:
55
strategy:
@@ -28,9 +28,7 @@ jobs:
2828
- name: Deploy xchainnet for test
2929
run: |
3030
make && make testnet && cd testnet/
31-
sed -i' ' 's#level: debug#level: warn#g' node1/conf/log.yaml
32-
sed -i' ' 's#level: debug#level: warn#g' node2/conf/log.yaml
33-
sed -i' ' 's#level: debug#level: warn#g' node3/conf/log.yaml
31+
sed -i' ' 's#level: debug#level: warn#g' node*/conf/log.yaml
3432
sh control_all.sh start
3533
pwd
3634
cd .. && cp output/bin/xchain-cli regression-pytest/client/bin/

‎.github/workflows/regression2.yml ‎.github/workflows/regression_consensus.yml

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
on: pull_request
2-
name: regression_test_2
2+
name: regression_consensus # 测试共识
33
jobs:
44
test:
55
strategy:
@@ -28,9 +28,7 @@ jobs:
2828
- name: Deploy xchainnet for test
2929
run: |
3030
make && make testnet && cd testnet/
31-
sed -i' ' 's#level: debug#level: warn#g' node1/conf/log.yaml
32-
sed -i' ' 's#level: debug#level: warn#g' node2/conf/log.yaml
33-
sed -i' ' 's#level: debug#level: warn#g' node3/conf/log.yaml
31+
sed -i' ' 's#level: debug#level: warn#g' node*/conf/log.yaml
3432
sh control_all.sh start
3533
pwd
3634
cd .. && cp output/bin/xchain-cli regression-pytest/client/bin/

‎.github/workflows/regression3.yml ‎.github/workflows/regression_parachain.yml

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
on: pull_request
2-
name: regression_test_3
2+
name: regression_parachain # 测试平行链
33
jobs:
44
test:
55
strategy:
@@ -28,9 +28,7 @@ jobs:
2828
- name: Deploy xchainnet for test
2929
run: |
3030
make && make testnet && cd testnet/
31-
sed -i' ' 's#level: debug#level: warn#g' node1/conf/log.yaml
32-
sed -i' ' 's#level: debug#level: warn#g' node2/conf/log.yaml
33-
sed -i' ' 's#level: debug#level: warn#g' node3/conf/log.yaml
31+
sed -i' ' 's#level: debug#level: warn#g' node*/conf/log.yaml
3432
sh control_all.sh start
3533
pwd
3634
cd .. && cp output/bin/xchain-cli regression-pytest/client/bin/

0 commit comments

Comments
 (0)