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/"
|
||||
- name: Build package
|
||||
run: go build .
|
||||
- name: Run server
|
||||
- name: Run server and tests
|
||||
env:
|
||||
DATABASE_TYPE: postgres
|
||||
LEVELDB_PATH: ./fixture/chaindata
|
||||
LEVELDB_ANCIENT: ./fixture/chaindata/ancient
|
||||
LOG_FILE_PATH: ./server-log
|
||||
timeout-minutes: 30
|
||||
# Run a sanity test against the fixture data
|
||||
# Complete integration tests are TODO
|
||||
run: |
|
||||
./eth-statediff-service --config ./test/ci-config.toml serve &
|
||||
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)
|
||||
|
||||
until grep "Finished processing block 32" ./server-log
|
||||
|
Loading…
Reference in New Issue
Block a user