ci: update test scripts and actions (#657)

* Update test scripts and CI

* Update timeout

* Update test-helper

* fix issue for staking test

* fix bug in test helper

* reduce block time

* Update test cases

* use truffle 5.4.14 as global

* remove two checks

* reduce block time to 150ms

* fix patches paths

* Update test scripts

Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
This commit is contained in:
Yijia Su
2021-10-21 11:06:20 +00:00
committed by GitHub
co-authored by Federico Kunze Küllmer
parent f70e4c1253
commit 8bf8d34376
21 changed files with 3488 additions and 1668 deletions
+6 -2
View File
@@ -78,7 +78,11 @@ jobs:
test-solidity:
runs-on: ubuntu-latest
timeout-minutes: 60
timeout-minutes: 240
strategy:
fail-fast: false
matrix:
batch: ['1-3', '2-3', '3-3']
steps:
- uses: actions/checkout@v2.3.5
- uses: actions/setup-go@v2
@@ -96,7 +100,7 @@ jobs:
go.sum
- name: test-solidity
run: |
make test-solidity
./scripts/run-solidity-tests.sh --batch=${{ matrix.batch }}
if: "env.GIT_DIFF != ''"
liveness-test: