Refactor to use plugeth-statediff #1
@ -36,22 +36,19 @@ jobs:
|
|||||||
git config --global url."https://$TOKEN:@git.vdb.to/".insteadOf "https://git.vdb.to/"
|
git config --global url."https://$TOKEN:@git.vdb.to/".insteadOf "https://git.vdb.to/"
|
||||||
- name: Build package
|
- name: Build package
|
||||||
run: go build .
|
run: go build .
|
||||||
- name: Run server
|
- name: Run server and tests
|
||||||
env:
|
env:
|
||||||
DATABASE_TYPE: postgres
|
DATABASE_TYPE: postgres
|
||||||
LEVELDB_PATH: ./fixture/chaindata
|
LEVELDB_PATH: ./fixture/chaindata
|
||||||
LEVELDB_ANCIENT: ./fixture/chaindata/ancient
|
LEVELDB_ANCIENT: ./fixture/chaindata/ancient
|
||||||
LOG_FILE_PATH: ./server-log
|
LOG_FILE_PATH: ./server-log
|
||||||
timeout-minutes: 30
|
timeout-minutes: 30
|
||||||
|
# Run a sanity test against the fixture data
|
||||||
|
# Complete integration tests are TODO
|
||||||
run: |
|
run: |
|
||||||
./eth-statediff-service --config ./test/ci-config.toml serve &
|
./eth-statediff-service --config ./test/ci-config.toml serve &
|
||||||
sleep 10
|
sleep 10
|
||||||
|
|
||||||
# # Run a sanity test against the fixture data
|
|
||||||
# # Complete integration tests are TODO
|
|
||||||
# - name: Run test
|
|
||||||
# timeout-minutes: 30
|
|
||||||
# run: |
|
|
||||||
./scripts/request-range.sh 0 32 || (E=$?; cat ./server-log; exit $E)
|
./scripts/request-range.sh 0 32 || (E=$?; cat ./server-log; exit $E)
|
||||||
|
|
||||||
until grep "Finished processing block 32" ./server-log
|
until grep "Finished processing block 32" ./server-log
|
||||||
|
Loading…
Reference in New Issue
Block a user